Created
November 30, 2011 21:57
-
-
Save steveclarke/1411169 to your computer and use it in GitHub Desktop.
Iteratively rename files in Bash
This file contains hidden or 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 f in *.rhtml; do git mv $f `basename $f rhtml`html.erb; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment