Created
May 20, 2024 22:03
-
-
Save Edwardtonnn/b6b7cecedc2b0abd1ea1ab415009f27d to your computer and use it in GitHub Desktop.
sequence rename 01 02 03
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
n=1; for file in *.jpg; do mv "$file" $(printf "%02d.jpg" $n); n=$((n + 1)); done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment