Skip to content

Instantly share code, notes, and snippets.

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

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