Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Do this on a COPY of your folder (or check the folder into Git first!)
- Dir.entries("/path/to/assets").each{|filename| File.rename(filename, filename[6..255]) if File.extname(filename)==".png"}
Add Comment
Please, Sign In to add comment