Home
Download
pad sequential filenames
- automatically determines the necessary integer field width
- treates filenames with different prefixes or suffixes separately
- removes redundant padding
- more efficient and robust than a quick hack script
- removes names that don't change from input to output
- can be piped to mv with xargs
Example
ls | pad_sequential_filenames | xargs -n2 mv -i