Re: file and dir time stamps

2005-02-05 Thread Randal L. Schwartz
> "MAC" == MAC OS X @ Rocteur CC <[EMAIL PROTECTED]> writes: MAC> http://www.rocteur.cc/geeklog/public_html/article.php? MAC> story=20040318182126104&query=file::finder Thanks for the publicity, but please please please fix the capitalization! Your code won't work, because it's called "File:

Re: file and dir time stamps

2005-02-05 Thread MAC OS X
A great man once said: use file::finder; # from the CPAN unlink file::finder->atime('+30')->in(glob "/share_folder/user_*"); -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.St

Re: file and dir time stamps

2005-01-24 Thread Francesco
Thomas Browner ha scritto: I have a hard time writing a script that look at file and directories time and date stamp then delete any thing that is so many days old. if someone would give me a good starting point. Some time ago i had the same problem, so here what i came up with. This script inc

Re: file and dir time stamps

2005-01-03 Thread John W. Krahn
Thomas Browner wrote: I have a hard time writing a script that look at file and directories time and date stamp then delete any thing that is so many days old. if someone would give me a good starting point. perldoc -f -M John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PRO

Re: file and dir time stamps

2005-01-03 Thread Alfred Vahau
Hi, The CPAN module File and its various methods e.g Find comes in-built with Perl distributions. perldoc File::Find, etc. provide online documentation on how to use them. Randal L. Schwartz has written some feature articles for Linux Magazine showing how to use these modules. See for instance: ht

Re: file and dir time stamps

2005-01-03 Thread Philipp Traeder
On Monday 03 January 2005 21:48, Thomas Browner wrote: > I have a hard time writing a script that look at file and directories > time and date stamp then delete any thing that is so many days old. if > someone would give me a good starting point. You might want to take a look at File::Find and the

file and dir time stamps

2005-01-03 Thread Thomas Browner
I have a hard time writing a script that look at file and directories time and date stamp then delete any thing that is so many days old. if someone would give me a good starting point. Thanks Thomas -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]