Filling in missing number to numbered files.

Bulk Rename Utility How-To's

Filling in missing number to numbered files.

Postby shmellyman » Mon Jan 23, 2023 8:29 am

Is it possible for BRU to scan through a folder, recognize 2 files of the same name but one file has "_02" in the end, and have it automatically add "_01" to the file without the "_02" at the end?

example:
before:
samefilename
samefilename_02

after:
samefilename_01
samefilename_02

Is BRU ale to do this?
shmellyman
 
Posts: 9
Joined: Thu May 06, 2021 9:13 am

Re: Filling in missing number to numbered files.

Postby therube » Mon Jan 23, 2023 6:03 pm

I would think that could be done with JavaScript renaming (though I wouldn't know how).
therube
 
Posts: 1319
Joined: Mon Jan 18, 2016 6:23 pm

Re: Filling in missing number to numbered files.

Postby Admin » Thu Jan 26, 2023 1:32 am

Yes, it should be possible to do with Javascript, is the requirement "if name does not end with _02 then add _01" ?
Could also be done without Javascript by selecting all files that do not end with _02 and then adding _01?
Admin
Site Admin
 
Posts: 2354
Joined: Tue Mar 08, 2005 8:39 pm


Return to How-To