Created
September 16, 2021 13:08
-
-
Save Neoklosch/d9c41cbc15f7506adbcab469f7eba126 to your computer and use it in GitHub Desktop.
rename all png files
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
COUNTER=1 | |
for file in *.png; do | |
mv "$file" "$COUNTER.png" | |
COUNTER=$[$COUNTER +1] | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment