Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
    Bookmark Topic Watch Topic
  • New Topic

Deleting old files in directory ?

 
Z Zia
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hello,

I have some apps that process files and move them in a backup directory. I wish to delete old files from that directory and automate application; please suggest:

1. How can app delete files after a specific date. Example: I wish to delete all files that are more than 14 days old in a directory?

Regards,
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24213
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please stop posting duplicate questions -- it just wastes people's time. Pick one forum for each question, please. Followups here.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!