Rename all files to...

priore Feb 11th, 2014 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ### rename all xxxxx.png files in to xxxxx@2x.png
  2. for f in *.png; do NEW=${f%.png}@2x.png; mv ${f} "${NEW}"; done;
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