Created
October 6, 2014 18:30
-
-
Save rmw/7a7361492a2df97dcdf2 to your computer and use it in GitHub Desktop.
Quick & dirty file renaming
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
Dir["./*"].each_with_index { |f, i| File.rename(f, "nyc-expertise-#{i}.png") } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment