Created
August 11, 2016 21:52
-
-
Save rhass/f3a2deb281f9e2b893d3c8138610fddd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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