Skip to content

Instantly share code, notes, and snippets.

@rhass
Created August 11, 2016 21:52
Show Gist options
  • Save rhass/f3a2deb281f9e2b893d3c8138610fddd to your computer and use it in GitHub Desktop.
Save rhass/f3a2deb281f9e2b893d3c8138610fddd to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
# Usage: find stable current -name downloads-05-08-2016*.csv -exec bintray-paths.rb '{}' +
require 'csv'
FILES=ARGV
FILES.each do |f|
csv = CSV.table(f)
csv.each do |row|
puts row[:path_information].to_s if row[:http_method] =~ /GET/
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment