Tuesday, February 16, 2010

Little Sugar: Bash

removing files older than 30 days

/home/user_dir/app_name/logs -ctime +30d -exec rm {} ';'