Remove part of image file name that is unique in each file

Bulk Rename Utility How-To's

Remove part of image file name that is unique in each file

Postby halekell@gmail.com » Mon Feb 05, 2024 4:01 am

Hello,
I have a large number of image files that have a version sequence attached to each one that I need to remove.
Example: 24010450041 (2024_01_16 05_28_37 UTC).ARW I want to remove the (2024...UTC) from all the files that have this stupid inclusion. And, each inclusion is different in each file, which makes it more difficult. (although all are within parentheses)

Can Bulk Rename Utility remove each of these unique Parts of each file name while keeping the rest of the file the same?

If not, any suggestions? Thank you.
halekell@gmail.com
 
Posts: 4
Joined: Mon Feb 05, 2024 3:53 am

Remove ending text-strings like (20##.*UTC)

Postby Luuk » Mon Feb 05, 2024 7:59 am

The safest way is with RegEx(1) having a checkmark for "v2", so then a "Match" like... \ \(20\d\d_[^)]+UTC\)$
Luuk
 
Posts: 706
Joined: Fri Feb 21, 2020 10:58 pm

Re: Remove part of image file name that is unique in each file

Postby Admin » Mon Feb 05, 2024 8:15 am

There is also the "simple way", meaning the RegEx could be easier to understand:

RegEx(1)
put checkmark for "simple"

then:
match : %1 (%2)
replace : %1

This assumes you only have ( ) where you want it removed and not in the main name.
Admin
Site Admin
 
Posts: 2354
Joined: Tue Mar 08, 2005 8:39 pm

Re: Remove part of image file name that is unique in each file

Postby halekell@gmail.com » Mon Feb 05, 2024 3:51 pm

Thank you for those comments, but I am not familiar with what you are saying.
Can you explain how I can do those things? Thx
halekell@gmail.com
 
Posts: 4
Joined: Mon Feb 05, 2024 3:53 am

Re: Remove part of image file name that is unique in each file

Postby halekell@gmail.com » Mon Feb 05, 2024 5:19 pm

I'm sorry - I figured this out. Just not familiar with the interface.
Is there a way to select a folder with subfolders and do the whole folder? Or do you have to do each subfolder one by one?
halekell@gmail.com
 
Posts: 4
Joined: Mon Feb 05, 2024 3:53 am

Re: Remove part of image file name that is unique in each file

Postby Admin » Tue Feb 06, 2024 5:20 am

In Filters(12) click on "Subfolders" then select all files.
Admin
Site Admin
 
Posts: 2354
Joined: Tue Mar 08, 2005 8:39 pm

Re: Remove part of image file name that is unique in each file

Postby halekell@gmail.com » Tue Feb 06, 2024 11:49 pm

Thanks! This worked perfectly!
halekell@gmail.com
 
Posts: 4
Joined: Mon Feb 05, 2024 3:53 am


Return to How-To