ubuntu: remove files older than 30 days

find /var/spool/asterisk/monitor/* -mtime +60 -exec rm {} \;

 

Delete using the locate command:

 

locate acb | xargs rm -fr

note that the "-fr" argument will delete recursively and force it! consider if this is what you want.

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *