[Asterisk-Users] Deleting Monitor Files After 2 Months

Gavin Hamill gdh at laterooms.com
Thu May 19 05:57:01 MST 2005


On Thursday 19 May 2005 13:51, Steve Totaro wrote:
> Does anyone know the best way to automate the deletion of monitor files
> after they age two months?

How about ... 

$ find /path/to/files -ctime +60 -exec rm {}\; 

Cheers,
Gavin.



More information about the asterisk-users mailing list