Posted By

cbrant on 09/18/08


Tagged

Bash rm find


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

cbrant
joaosalless
AzizLight
yosemite610


Bash script to find and delete files older than x days


 / Published in: Bash
 

  1. find /path/to/files -type f -mtime +7 -exec rm {} \;

Report this snippet  

You need to login to post a comment.