Powertoys: PowerRename: Better enumeration

Created on 20 Oct 2020  路  4Comments  路  Source: microsoft/PowerToys

馃摑 Improved enumeration function

_When the enumeration option is checked, the renamed files are numbered sequentially from (1) through (9) then (10) through (99) and (100) through (999). This results in incorrect sorting. Instead, allow digit masking so the files can optionally be numbered as (001) through (999) etc. and will sort correctly. Even better allow the user to decide how the number appears, so it can be file-001 through file-999 rather than forcing the space and parentheses.


If you'd like to see this feature implemented, add a 馃憤 reaction to this post.

Help Wanted Help Wanted-Good first issue Idea-Enhancement Product-PowerRename

All 4 comments

In addition a feature like on linux where I can create filenames with counted nunbers and character would be great.

Example

Terminal command
touch Image{A..C}{0..9}.jpg

Created Files

ImageA0.jpg, ImageA1.jpg, ..., ImageA9.jpg, ImageB0.jpg, ..., ImageB9.jpg, ..., ImageC9.jpg

馃摑 Improved enumeration function

_When the enumeration option is checked, the renamed files are numbered sequentially from (1) through (9) then (10) through (99) and (100) through (999). This results in incorrect sorting. Instead, allow digit masking so the files can optionally be numbered as (001) through (999) etc. and will sort correctly. Even better allow the user to decide how the number appears, so it can be file-001 through file-999 rather than forcing the space and parentheses.

the ability to have - or _ instead of ( ) would be very useful

As a user, I would like to be able to prepend, append, or simply place the enumerator anywhere in the replacement pattern.

I agree with several of the above enhancements; it would be good to be able to rename multiple files given an output pattern that has a notation that allows specifying where an incrementing number will go. The number of consecutive markers is the minimum width of the field, though if the counter requires additional digits, more will be added on the left. It would also be good to specify the starting value, and maybe the radix of the field.

I have two image management and viewing applications (ACDSee and FastStone) that provide a rename facility that use an output pattern of that looks like "Prefix####Suffix" to rename files with a counter (if no extension is specified, the file retains its extension); in both cases, the starting value of the counter can be specified, and one of them (ACDSee) can default a starting value extracted from the first filename in the list of files to be renamed (it also defaults to a pattern based extracted from that filename).

Screenshot 2020-11-22 14 35 29
The above is an example of the ACDSee "Batch Rename" dialog.

Was this page helpful?
0 / 5 - 0 ratings