Created
November 15, 2016 22:35
-
-
Save gengue/ce09b9e5d7be012891e950db7944976f to your computer and use it in GitHub Desktop.
Rename all files in a directory (BASH)
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 file in *_p.png | |
do | |
mv "$file" "${file/_p.png/_prueba.png}" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment