http://www.perlmonks.org?node_id=1015617


in reply to Re^4: Delete all but the most recent backup file
in thread Delete all but the most recent backup file

Here is an alternative idea

Archive the backups for a month before deleting them (like zip/7-zip)

Since the files are nearly identical, it should compress really well, so in the same space you have of 24hrs of backups you can have ~20 days of backups (one zip per day), and if you combine those zip/day backups into a single archive, you'll have space for more days :)