daily pastebin goal
69%
SHARE
TWEET

Untitled

a guest Jun 14th, 2018 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Do this on a COPY of your folder (or check the folder into Git first!)
  2. Dir.entries("/path/to/assets").each{|filename| File.rename(filename, filename[6..255]) if File.extname(filename)==".png"}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top