/dev/trash has asked for the wisdom of the Perl Monks concerning the following question:
I am working in a Windows environment but I am pretty sure this is an OS_independent question. I want to check to see if a group of files were modified on the present date. If they were modified before today I want them deleted, else keep them.
I know about stat() and localtime but the best I could come up with was when the file was modified. Any suggestions would be great.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How do I determine if a file was modified today?
by fs (Monk) on Jun 02, 2001 at 10:19 UTC | |
Re: How do I determine if a file was modified today?
by mpolo (Chaplain) on Jun 02, 2001 at 10:24 UTC | |
Re: How do I determine if a file was modified today?
by ton (Friar) on Jun 02, 2001 at 12:45 UTC | |
by clintp (Curate) on Jun 02, 2001 at 17:30 UTC | |
Re: How do I determine if a file was modified today?
by Desdinova (Friar) on Jun 02, 2001 at 12:36 UTC | |
Re: How do I determine if a file was modified today?
by rchiav (Deacon) on Jun 02, 2001 at 18:05 UTC |
Back to
Seekers of Perl Wisdom