please, need a help!

Bulk Rename Utility How-To's

please, need a help!

Postby abedooo » Sat Aug 29, 2020 12:01 pm

hi guys,
i've more than 15000 file with title name similar (photo_141@19-08-2020_18-07-44),(photo_141@19-08-2020_18-07-45),(photo_141@19-08-2020_18-07-46)
i need to
1- remove (_18-07-44),(_18-07-45),(_18-07-46)
2-i want to keep duplicated file
thnks :)
abedooo
 
Posts: 10
Joined: Mon Apr 01, 2019 3:29 pm

Re: please, need a help!

Postby therube » Mon Aug 31, 2020 6:50 pm

Are these files in a single directory or different directories?
If single, not too easy to retain duplicated names ;-).

See if this works:

1:RegEx
Code: Select all
Match:  (.*)(@\d\d-\d\d-\d\d\d\d)(_\d\d-\d\d-\d\d)(.*)
Replace:  \1\2\4

Match anything, up to...
Match @+date
Match _+date (& ignore)
Match anything else
therube
 
Posts: 1319
Joined: Mon Jan 18, 2016 6:23 pm

Re: please, need a help!

Postby Luuk » Tue Sep 01, 2020 12:51 pm

Greetings! Im not experience in 1:RegEx to make different all of the duplicated files, but we can use in the menu where there is Renaming Options with Prevent Duplicates to make different all of the duplicated files like photo_141@19-08-2020, photo_141@19-08-2020_1, photo_141@19-08-2020_2.
Luuk
 
Posts: 704
Joined: Fri Feb 21, 2020 10:58 pm


Return to How-To


cron