![]() |
|
P is for Practical | |
PerlMonks |
(dkubb) Re: (2) del files that is 7 days or olderby dkubb (Deacon) |
on Feb 15, 2001 at 06:14 UTC ( #58551=note: print w/replies, xml ) | Need Help?? |
This will delete any files in the current directory that are 7 or more days old: perl -e 'unlink grep { -M >= 7 } <*>'
In Section
Seekers of Perl Wisdom
|
|