# File lib/rudy/cli/backups.rb, line 13 13: def backups_wash 14: dirt = (get_backups || []).select { |b| !b.snapshot_exists? } 15: if dirt.empty? 16: li "Nothing to wash in #{current_machine_group}" 17: return 18: end 19: 20: li "The following backup metadata will be deleted:" 21: li dirt.collect {|b| b.name } 22: 23: execute_check(:medium) 24: 25: dirt.each do |b| 26: b.destroy 27: end 28: 29: end