Skip to content

Instantly share code, notes, and snippets.

/raw.rb Secret

Created July 12, 2013 16:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/9ec2106be2c6f5bb6a8d to your computer and use it in GitHub Desktop.
Save anonymous/9ec2106be2c6f5bb6a8d to your computer and use it in GitHub Desktop.
Check this...
dirs.each do |fileName|
ext = fileName.split(".") # Get the extention of a file
ext.downcase!
if ((ext == "jpeg") or (ext == "jpg") or (ext == "raw"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment