View Single Post
  #9 (permalink)  
Old 08-23-10, 10:28
LKBrwn_DBA LKBrwn_DBA is offline
Registered User
 
Join Date: Jun 2003
Location: West Palm Beach, FL
Posts: 2,455
Cool cygwin is a bash.

Quote:
Originally Posted by maxtodoscripts View Post
the scrip is located in a remote server where there is cygwin and i'm trying to use bash...
Ok cygwin is another animal...
Try this:
Code:
dir1='Program Files/archive'
cd D:

find "$dir1" -mtime +60 -type f

exit 0
The issue is the space in the name of the "Program Files" directory.
__________________
The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb

Last edited by LKBrwn_DBA; 08-23-10 at 10:57. Reason: New script
Reply With Quote