Skip to content

[PowerRename] improved enumeration / incremental counter  #3814

Description

Summary of the new feature/enhancement

  • Some way of automatically renaming with an increasing counter but located in a user-defined location and initial value.

Example: imported images from a camera are named

      IMG_3156 -> IMG_3259

in sequential order.

And I would like to rename them

     RomanticFailure_040_TopSecret -> RomanticFailure_143_TopSecret

Right now (0.18) there doesn't seem to be a way to do this (unless it is possible by massaging RegEx sufficiently, but I am too unfamiliar, in which case some documentation would be v helpful). There is the enumerate items option, but it just seems to always add a sequential counter starting from 1 and appended as (#)

Proposed technical implementation details (optional)

I guess it would be good if there were some sort of variable, e.g. $COUNTER, which would contain the number of the file being process and that could be inserted in an arbitrary place in the Replace with field.

It would be helpful if simple mathematical operation could be applied to it, e.g.

(2*$counter+5)

would actually produce a sequence of files named 5, 7,9,11,13.

I suppose some way to specify padded zeros, or a number format would be good, so that we would get 05, 07, 11, 13.

Crutkas: this should able to be included not just at the end, but anywhere in the string

Metadata

Metadata

Labels

Idea-EnhancementNew feature or request on an existing productProduct-PowerRenameRefers to the PowerRename PowerToyResolution-Fix CommittedFix is checked in, but it might be 3-4 weeks until a release.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions