Re: Advice on where to look to solve a problem

2003-07-08 Thread Brian Dessent
Steve wrote: > I need to make a script that will check all of the file modified dates > on all of the files in a list of directories. If any of these dates is > older then the current date I want to print the name of the file and the > date to a file. > > I'm new to bash scripting and many unix

Re: Advice on where to look to solve a problem

2003-07-08 Thread Randall R Schulz
Steve, This is elementary Unix script programming. Well, maybe intermediate scripting. The "find" command will do everything you want. Read the man page ("man find"). It's chock full 'o options. I do suggest you clarify your file age criteria. File time stamps have approximately second-level r

Re: Advice on where to look to solve a problem

2003-07-08 Thread Elfyn McBratney
On Tue, 8 Jul 2003, Steve wrote: > Hi; > > I'm on windows 2000 with cygwin. > > I need to make a script that will check all of the file modified dates > on all of the files in a list of directories. If any of these dates is > older then the current date I want to print the name of the file and t

Advice on where to look to solve a problem

2003-07-08 Thread Steve
Hi; I'm on windows 2000 with cygwin. I need to make a script that will check all of the file modified dates on all of the files in a list of directories. If any of these dates is older then the current date I want to print the name of the file and the date to a file. I'm new to bash scripti