lib/plugins/remove.rb in keepitsafe-0.1.7 vs lib/plugins/remove.rb in keepitsafe-0.1.10

- old
+ new

@@ -38,10 +38,10 @@ end end def remove_old_backups - remove(backup.run_cmd('ls -m ~/backups/').strip.split(/,\s/).map{|path| "~/backups/#{path}" }) do |backups| + remove(run_cmd('ls -m ~/backups/').strip.split(/,\s/).map{|path| "~/backups/#{path}" }) do |backups| # First backup of each month 1 years back months = keep_first_each_month(backups,1.years.ago) # First backup of each week 2 months back \ No newline at end of file