Well, you could do with a Unix find command...
find . -mtime +7
Or, in perl, you could do it...
perl -e 'print -M "/etc/passwd"'
The '-M' file test operator returns the number of days (to 13 decimal
places, in 5.8.0) since the file was modified. See also '-A' and '-C'.
31/08/2002 08:14 PM
Please respond to perl-beginner
Subject: [PBML] Get all files in directory that are more than 7 days old
Is there a way to get those files in a directory that
are more than 7 days old? (last modified is more than
a week ago)
Many thanks in advance...
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
Unsubscribing info is here:
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
This email contains confidential information intended only for the person named above and may be subject to legal privilege. If you are not the intended recipient, any disclosure, copying or use of this information is prohibited. The Department provides no guarantee that this communication is free of virus or that it has not been intercepted or interfered with. If you have received this email in error or have any other concerns regarding its transmission, please notify Postmaster@...