Delete Old Files (bash)

find /path/to/dir -mtime +15 -delete

It's a quick and easy solution in Linux. The one liner above would delete all the files in /path/to/dir that are older than 15 days!

Unix is user-friendly. It's just very selective about who its friends are

Similar Posts:

    None Found

No Comments

You can leave the first : )