Gossamer Forum
Home : General : Perl Programming :

delete files in directory based on last modified date

Quote Reply
delete files in directory based on last modified date
Wondering if anyone can help with what I think should be a simple problem... I need a simple perl command to delete all files in a directory that were last modified before a particular date (say over a month ago). Anyone care to help? Many thanks.

Fractured Atlas :: Liberate the Artist
Services: Healthcare, Fiscal Sponsorship, Marketing, Education, The Emerging Artists Fund
Subject Author Views Date
Thread delete files in directory based on last modified date hennagaijin 14625 Feb 23, 2004, 10:50 AM
Thread Re: [hennagaijin] delete files in directory based on last modified date
hennagaijin 14422 Feb 25, 2004, 11:00 AM
Thread Re: [hennagaijin] delete files in directory based on last modified date
Watts 14437 Feb 25, 2004, 4:11 PM
Post Re: [Watts] delete files in directory based on last modified date
Watts 14398 Feb 26, 2004, 7:16 AM
Post Re: [Watts] delete files in directory based on last modified date
hennagaijin 14385 Feb 26, 2004, 9:06 AM