Created
August 8, 2016 08:46
-
-
Save paazmaya/ac30c062b3073f91a817e810b29ce2b6 to your computer and use it in GitHub Desktop.
Rename test files to have the word test instead of tape in the end
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
find . -maxdepth 3 -type f -name '*_tape.js' \ | |
-exec sh -c '(cd $(dirname {}) && pwd && base=$(basename {}) && git mv $base ${base/tape/test} )' ';' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment