Last news

Voxengo CurveEQ VST 3.2 Full and Cracked
This article provides information for installing VMware vCenter Server 5.1. Notes: This is a not a comprehensive guide. For more information, see the vSphere 5.1. Installing vCenter Server 5.1 best practices (2021202) MySQL Error 1064: You have an error in your SQL syntax...
Read more
4Videosoft iPad 2 to Computer Transfer Ultimate 6.0.10 with key generator
Pinned REGISTRATION ISSUES? Started by n_c_h_dj , 01 Oct 2009 n_c_h_dj 01 Oct 2009 Pinned What this forum IS and what it IS NOT Started by Guest_nchaj_ , 07 Nov 2008 Guest_Guest_nchaj__ 07 Nov 2008 Freepbx 2.11 routing Issues with Uplink and skype 6.14...
Read more
CAT Management System 2 and License keys
Download EZ Backup IncrediMail Premium 6.29 Activation KeyRating a Wildfire Mitigation Strategy with an Insurance Premium: AGreen Disc Ultimatum v.9.0 (2013RUSENG ) - Все в одномBackup IncrediMail Premium (free) - Download Latest version inDecember 2015 Gelbvieh World by American Gelbvieh Association Your review 1 vote...
Read more

Delete Files by Date, # Days Old,

Liquid Studio 1.02 Crack and Serial number

The find utility on linux allows you to pass in a bunch of interesting arguments, including one to execute another command on each file. We’ll use this in order to figure out what files are older than a certain number of days, and then use the rm command to delete them.

Command Syntax

find /path/to/files -mtime +5 -exec rm {} \;

Note that there are spaces between rm, {}, and \;


  • The first argument is the path to the files. This can be a path, a directory, or a wildcard as in the example above. I would recommend using the full path, and make sure that you run the command without the exec rm to make sure you are getting the right results.
  • The second argument, -mtime, is used to specify the number of days old that the file is. If you enter +5, it will find files older than 5 days.
  • The third argument, -exec, allows you to pass in a command such as rm. The {} \; at the end is required to end the command.

This should work on Ubuntu, Suse, Redhat, or pretty much any version of linux.


Delete Files Older Than x Days on Linux - How-To Geek Windows - Batch file to delete files older than N days - Stack Overflow