Skip to content

Instantly share code, notes, and snippets.

@levinotik
Created February 9, 2012 03:45
Show Gist options
  • Save levinotik/1777104 to your computer and use it in GitHub Desktop.
Save levinotik/1777104 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
ARGV.each do |path|
files = Dir.glob(File.join(path, '**', "*.{jpg}"), File::FNM_CASEFOLD).each do |f|
puts File.path(f)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment