Created
May 19, 2016 14:04
-
-
Save Buravo46/07e7b3f1439fca57511ad936286b71ba to your computer and use it in GitHub Desktop.
shell
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
BEFORE_EXTENSION="text" | |
AFTER_EXTENSION="" | |
for fname in *.$BEFORE_EXTENSION; do | |
mv $fname ${fname%.$BEFORE_EXTENSION}$AFTER_EXTENSION; | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment