Created
February 13, 2012 18:32
-
-
Save makokal/1818870 to your computer and use it in GitHub Desktop.
Rename all .rhtml file in a folder to .html.erb or any other format
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 ./*rhtml*;do mv -- "$i" "${i//rhtml/html.erb}";done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment