Remove files older than x days on Linux By Shrinivas Gundu 15 July, 2013 No Comments You just need to execute the below command as sudo / root find /path/to/files* -mtime +5 -exec rm {} \;