script to rotate backups By Ricardo MallaJanuary 11, 2019November 30, 2019ubuntu Delete all files except the ones the first day of the month. root@DiskStation:/volume1/homes/scripts# find /volume1/NetBackup/Servers/MIA/Asterisk/Admin/Cron/ -type f -mtime +7 ! -name '*01-*' -exec rm -rf {} \;