Sunday, September 3, 2017

CentOS: Find and Delete

Command (Deleting files under /tmp directory more than a day old):

$ find /tmp -type f -mtime +1 -delete