midge25
Programmer
- Jul 19, 2002
- 9
Hi,
I am writing a shell script(ksh) to find flat files older than 2 hours.
I have touched a temp file and modified its time and then used a find command but it gets tricky when you get to the end of the month and the start of the year.
Is there any alternatives I can use???
I am sure I saw a method that uses about 2 lines but I cant remmeber where.
Thanks in advance,
Midge25
I am writing a shell script(ksh) to find flat files older than 2 hours.
I have touched a temp file and modified its time and then used a find command but it gets tricky when you get to the end of the month and the start of the year.
Is there any alternatives I can use???
I am sure I saw a method that uses about 2 lines but I cant remmeber where.
Thanks in advance,
Midge25