Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow typing in the "Renamed" column when PowerRenaming #10642

Open
Archeol opened this issue Apr 7, 2021 · 5 comments
Open

Allow typing in the "Renamed" column when PowerRenaming #10642

Archeol opened this issue Apr 7, 2021 · 5 comments
Labels
Idea-Enhancement New feature or request on an existing product Product-PowerRename Refers to the PowerRename PowerToy

Comments

@Archeol
Copy link

Archeol commented Apr 7, 2021

I imagine when trying to mass rename files, you intend to have some sort of differentiating suffix as well, but you also don't want to use the "enumerate items" option because it doesn't look so great (and adds a random space between it and the title).

Instead what I've had to do is do a mass rename then manually rename the ending for each one, which takes away the whole point of this thing, and doing so leads to a whole sleuth of weird bugs and glitches that can ALSO be eliminated with my proposed feature.

PROPOSED FEATURE: After using the "Replace with" option, allow us further edit under the "Renamed" column to make this much more streamlined than it is now.

image

In my scenario, I want to add quick custom suffixes to the end of a mixtures of a couple letters and numbers (see "Original" column)

@Archeol Archeol added the Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams label Apr 7, 2021
@enricogior enricogior added Product-PowerRename Refers to the PowerRename PowerToy Idea-Enhancement New feature or request on an existing product and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Apr 9, 2021
@Jay-o-Way
Copy link
Collaborator

In the image you are replacing the original file name. You have to use regular expressions correctly to get a suffix. Try using (*.) in search field and $1 12-06-20AA in replace field.

@Archeol
Copy link
Author

Archeol commented Apr 14, 2021

What does (.) do? I don't see it in the manual and it doesn't allow renaming. I did it with my . and it still gave me the same output as when I did it without (see screenshot).
image

But yes, I am replacing the original file name (which was simple to do), BUT I additionally want to add a suffix that mimics the ones I MANUALLY added in the left column (I realize this is a bit confusing, but I want the renamed output to look like what's on the left side).

@Jay-o-Way
Copy link
Collaborator

Jay-o-Way commented Apr 14, 2021

I meant to type (.*). A dot represents any character, an asterisk means to repeat any number of times and the parentheses make it capturing group (sums up to the whole file name) which is later referenced by $1. You can number different groups. Try to see if you can find a guide for Regular Expressions.

Also check

  • Enumerate items

@Jay-o-Way
Copy link
Collaborator

By the way, if you wanted to give all the files the same name with only a different suffix, who not just select them in Explorer and rename them there, all in one go? Explorer will happily give them all a number.

@Archeol
Copy link
Author

Archeol commented Apr 21, 2021

hmmm.... yeah it does explain a lot

But using powerrename all I have to do is just change a number for a different date, and when I manually try to add a suffix afterwards for a single file using regular renaming, it changes the names of every file that I had just powerenamed (one of the "bugs" i was talking about) even though only one of them is selected.
And enumerating/using Explorer adds a gap and parenthesis which just looks so ugly to me (minor issue, I know),

Basically, is there any regular expression that adds numbers in sequence?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Idea-Enhancement New feature or request on an existing product Product-PowerRename Refers to the PowerRename PowerToy
Projects
None yet
Development

No branches or pull requests

3 participants