Skip to content

Instantly share code, notes, and snippets.

Created December 19, 2019 20:38
What would you like to do?
Renumber file sequence
perl -e 'while (<prefix*png>) { printf("mv $_ %03d.png\n", $1 + 42) if /(\d+)/ }'
Copy link

Just print shell commands, no actual renumbering.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment