Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Thanks!my $dir = "C:\Windows"; my @ext = qw(gif jpeg pdf doc); my $age = "2" # days ago, not in hours # open directory and delete all files that are modified $age ago
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Deleting files of a specific extension for dir
by Corion (Patriarch) on Oct 04, 2008 at 18:38 UTC | |
|
Re: Deleting files of a specific extension for dir
by Illuminatus (Curate) on Oct 04, 2008 at 19:21 UTC |