Created
November 26, 2013 21:44
-
-
Save joshmcarthur/7666812 to your computer and use it in GitHub Desktop.
Move all files matching a pattern from a series of subfolders
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 folder in folder1 folder2 folder3; do mv "$folder/_file_old.html.erb" "$folder/_file_new.html.erb"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment