script for purge

Hi ,

I want to purge 7 days older data from a list of data sorted on date in a log file...

Can anyone provide me with the shell script for the same..

Thanks,

Jaz

man find to learn more.
essentailly, you will have something like
find * -date +7 -exec blah-blah

Wondering if some class somewhere suddenly has an assignment to find files by date. This is the 3rd question related to finding files in the past 24 hours. Search this forum for more help on "find". If you get stuck with final syntax, then supply it in a follow-up posting.