Skip to main content
4 events
when toggle format what by license comment
Jul 11, 2017 at 20:33 vote accept Tyler Scafidi
Jul 11, 2017 at 20:30 comment added Tyler Scafidi My apologies, I forgot a space after "rm {}". Your solution worked best. Here is my final cron job (before looking into -mmin): 20 4 * * * find /mnt/ext/../../backup-*_xyz.tar.gz -mtime +2 -exec rm {} \;
Jul 11, 2017 at 20:16 comment added Tyler Scafidi I am able to use find command with the switches you gave to find the old files, but the cron job doesn't remove them.
Jul 11, 2017 at 18:48 history answered agurney CC BY-SA 3.0