-
-
Save anonymous/9ec2106be2c6f5bb6a8d to your computer and use it in GitHub Desktop.
Check this...
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
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