Rename consecutive files
All in one line:
ls | cat -n | while read n f; do mv "$f" "$n.extension"; donechange extension with desired PNG, Jpg or some-other.
From here
Don't forget to include the
donecommand
last updated may 2020
All in one line:
ls | cat -n | while read n f; do mv "$f" "$n.extension"; donechange extension with desired PNG, Jpg or some-other.
From here
Don't forget to include the
donecommand