The Geek Stuff shows you how to remove files older then N days using tmpreaper in Linux
On Linux desktop distros, this is good for cleaning directories like “~/Downloads”, where files get accumulated over a period of time.How to Remove Files Older than N days using tmpreaper in Linux
On Linux server distros, this is good for cleaning old log files or backup files that are not required any more.
tmpreaper recursively searches and removes files and directories which are not accessed for certain period of time.