This software helps you remove old, unnecessary daily backups quickly and easily. It saves time and space by identifying and deleting unwanted files, improving the organization and efficiency of your backup system.
Using ls4sweep, users can check the creation or modification time of files and view the names of those that do not align with the policy. This software tool effectively ensures that only one file is kept in each interval.
One can use ls4sweep with various commands, such as 'ls4sweep 3:1,2:3,2:10,2:30,3:90,5:365 *.zip,' which ultimately directs the software to keep daily ZIP-archives for the last three days. That is, it instructs the tool to keep two archives with 3-day intervals for backups older than three days, two archives with 10-days interval period for backups older than nine days, and two archives with monthly interval periods for backups older than one month. It also instructs for three archives with 90-day interval periods for backups older than three months and a yearly archive for five years for backups older than one year.
Furthermore, ls4sweep's output can be directly passed to '| xargs -r /bin/rm -f' command. If you create archives via cron(8), you can effectively put the cleanup through the ls4sweep after creation. Overall, ls4sweep stands out as a valuable software tool for effectively managing and cleaning outdated backup files.
Version 0.3.0: N/A