Created
February 25, 2021 09:30
-
-
Save dipeshhkc/b95cea7afd8b7c2e8fadeb6ee8ffb913 to your computer and use it in GitHub Desktop.
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
12_name.gif -> name.gif | |
for f in *.gif ; do | |
if [[ "$f" == *"_"* ]] ; then | |
mv -v "$f" "${f#*_}" | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment