zwwcn

Just another WordPress.com site

Category Archives: Shell Script

delete files older than 30 dates

Delete files which have last modified date older than 30 dates:

 

find /dir/where/shows/are/ -mtime +30 -exec rm {} \;

Advertisements