Saturday, November 7, 2015

Linux: Delete Files Older than x number of days



Delete files older than x number of days

$find . -mtime +5 -print 0 |xargs -0 rm -f

No comments: