Created
June 13, 2014 10:00
-
-
Save 17twenty/894f1e5c7275d3638a75 to your computer and use it in GitHub Desktop.
Quick Suffix rename script
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
# Replace the .sh and .txt in the next line with the current and future file suffixes | |
for i in $(find . -iname *\.sh -print;) ; do mv "$i" "$(dirname $i)/$(basename -s .sh $i).txt"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment