Created
July 12, 2012 20:43
-
-
Save oeon/3100844 to your computer and use it in GitHub Desktop.
To move all files with '_11_' in their filename to child-folder 'reproj11to10' and replace '_11_' with '_10_'
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 f in *_11_*; do mv "$f" ./reproj11to10/"${f/_11_/_10_}"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment