Created
August 26, 2014 18:51
-
-
Save gka/59918662ff4c15f9c4bf to your computer and use it in GitHub Desktop.
Batch rename a bunch of files
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
for i in *.php ; do mv "$i" "`basename $i .php`.json" ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment