Skip to content

Instantly share code, notes, and snippets.

@densone
Created November 9, 2012 23:25
Show Gist options
  • Save densone/4048994 to your computer and use it in GitHub Desktop.
Save densone/4048994 to your computer and use it in GitHub Desktop.
File.open("/etc/dat_list", "r") do |dat_file|
dat_file.each do |s3_path|
exec "s3cmd rm s3://puppies/#{s3_path}"/
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment