Renaming with Indeterminate Character Lengths

Would you like Bulk Rename Utility to offer new functionality? Post your comments here!

Renaming with Indeterminate Character Lengths

Postby Angstromm » Sat Jan 18, 2025 7:55 pm

I’d like to be able to rename files from a given point up to the “.ext”. I often have a group of files with the same bit (in terms of character length) at the beginning (e.g., “Bayberry Sauna 01”, “Bayberry Sauna 02”, etc.) but then characters of varying length thereafter (e.g., “terse ver xxx” or terse ver xxxxxx” etc.).

I’d like to be able to keep the bit at beginning and then delete everything up to the “.docx” or “.pdf” etc. So:

“Bayberry Sauna 01 terse ver xxx.pdf”
“Bayberry Sauna 02 terse ver xx.pdf”
“Bayberry Sauna 03 terse ver xxxxxxx.pdf”

All changed to:

“Bayberry Sauna 01.pdf”
“Bayberry Sauna 02.pdf”
“Bayberry Sauna 03.pdf”

Have I missed something? Seems that this isn’t currently possible. A sort of, keep this bit in the base filename and delete everything from that point up until the extension.

Thanks!
Angstromm
 
Posts: 2
Joined: Sat Jan 18, 2025 7:51 pm

Re: Renaming with Indeterminate Character Lenths

Postby Admin » Sat Jan 18, 2025 11:01 pm

Hi, if the part of the name to keep is of fixed length, you can use Remove (5) -> From.
Admin
Site Admin
 
Posts: 2724
Joined: Tue Mar 08, 2005 8:39 pm

Re: Renaming with Indeterminate Character Lengths

Postby Angstromm » Sun Jan 19, 2025 11:37 pm

Wow, that was simple! Thanks for pointing this out!
Angstromm
 
Posts: 2
Joined: Sat Jan 18, 2025 7:51 pm


Return to Suggestions