• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
3

Batch Rename - Incorrect Sequence Numbers

Community Beginner ,
Dec 20, 2023 Dec 20, 2023

Copy link to clipboard

Copied

Hello Adobe & Community,

after selecting all (120) files in a folder and running "batch rename", (sometimes) it needs several attempts to apply correct sequence numbers. Please check my (1, 2 & 3) screenshots and the setting below.

 

After renaming 30K pictures without questioning the results, now I have to go back and investigate each folder...

It would be nice if someone could look into this problem. Thank you in advance.

 

OS: MacOS Sonoma

Bridge: Latest version

 

1. First attempt:

 

01_first_rename_result.png

 

 

2. Second attempt:

 

02_second_try.png

 

 

3. Third attempt - this time correct:

 

03_third_attempt.png

 

 

My Setting:

 

settings.png

TOPICS
Bug , Problem or error

Views

274

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 20, 2023 Dec 20, 2023

Copy link to clipboard

Copied

(1) Are you making backups first so that you can easily restore the filenames if something goes wrong?

 

(2) Are you using the "preview" button to inspect all of the files before renaming (don't just use the preview of the first file, use the button to inspect all files).

 

(3) It may also be wise to use the "Preserve current filename in XMP metadata" so that you can undo the rename if something goes wrong, especially if you are not following point (1).

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 21, 2023 Dec 21, 2023

Copy link to clipboard

Copied

Thank you Stephen,

no, I haven't done any of it, because I assumed, that renaming is going to be a pretty basic task for a software suit like Adobe (I've spotted the issue as it was already too late).

 

I would like to share a few more details on this bug, after spending hours struggling with thousands of files.

The problem occurs with files from two different cameras in one folder. Here are other examples:

 

Screenshot 1.

Folder with more than 800 files from one (Nikon and Sony) photo shoot. Even after several renaming attempts Bridge couldn't get it right. It starts correctly, but then the sequence number jumps from 223 to 639 and the mess continues from this moment on. The only solution was to rename a small batch of files and repeat it several times until end (which can't be the real  solution).

 

Screenshot 2.

But as this example shows, Bridge struggles even with a small folder and number of files. Here it starts the count with "0030"  and jumps from "0032" to "0001" when the file format changes. After repeating the process, everything was correct.

 

Screenshot 3.

As you can see, it's a total mess from the beginning to the end...

 

My question: What happens now? Is Adobe going to address this bug?

Thank you.

 

 

Screenshot 1:

 

4th_bug_example.png

 

 

Screenshot 2:

 

5th_bug_example.png

 

 

Screenshot 3:

 

6th_bug_example.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 21, 2023 Dec 21, 2023

Copy link to clipboard

Copied

@GXMedia 

 

Can you provide a screenshot of the actual batch rename settings that also includes the preview of the original and renamed file? Even better the preview button for multiple files.

 

 I'm just a forum volunteer, so I can't speak for Adobe, however, before anything can be "fixed" the root cause needs to be understood.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 21, 2023 Dec 21, 2023

Copy link to clipboard

Copied

Also, how are the files sorted in the workspace? This affects the batch rename order. I think if you sort the files by date before selecting them and running batch rename, you should get the desired result.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 22, 2023 Dec 22, 2023

Copy link to clipboard

Copied

quote

@GXMedia 

Can you provide a screenshot of the actual batch rename settings

 

The setting is in my initial comment...

Original files have already been renamed. There was nothing unusual about it, just straight out of camera Nikon & Sony files from (one day photo shoot, without any changes).

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 22, 2023 Dec 22, 2023

Copy link to clipboard

Copied

The files were sorted and displayed in the right order. Besides, when I batch rename files based on a specific setting, this is the pattern Bridge should follow.

If you take a look at my examples, the added date values are matching the actual creation date, but the sequence numbers are wrong.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 22, 2023 Dec 22, 2023

Copy link to clipboard

Copied

Yes, but the before/after filename preview was cropped off.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 22, 2023 Dec 22, 2023

Copy link to clipboard

Copied

quote

@GXMedia 

 

 I'm just a forum volunteer, so I can't speak for Adobe...

Maybe you have a possibility to notice someone from the team, to take at least a look at it? 

There was a way to submit bugs directly from Bridge, maybe I should have done it instead.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 22, 2023 Dec 22, 2023

Copy link to clipboard

Copied

This topic was raised as a discussion, not as a bug report. A moderator could change it to a bug report, however you would need to provide info about the input filenames so that this can be reproduced and also provide the exact version and build info.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 22, 2023 Dec 22, 2023

Copy link to clipboard

Copied

Thank you Stephen,

I haven't seen the bug option, when I started this topic. It would be very kind of you if you could change and report it. I will try to provide all the info needed (as I just found a backup and can reproduce the bug, based on one random folder).

 

My Bridge version is: 14.0.1.137 (it should be the current one)

 

This is the file structure in my MacOS folder, which contains 152 items:

 

07_macos_folder.png

 

 

 

This is how Bridge sees it before applying batch rename.

 

08_Bridge_before_batch_rename.png

 

 

 

And this is the result. Part 1, it starts with the wrong sequence number:

 

09_result_part1.png

 

 

...and continues until it comes across Nikon RAW files:

 

10_result_part2.png

 

 

 

This is just one example of many. In this one, when I "purge cache" and apply the batch process one more time, it does a correct job:

 

11_correct_result_part1.png

 

 

The Nikon break, this time without issue:

 

12_correct_result_part2.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 22, 2023 Dec 22, 2023

Copy link to clipboard

Copied

I have asked a moderator to change the label from discussion to bug.

 

Edit: sorry, I was thinking of the Photoshop forum, I think Bridge may still be using a separate site...

 

https://adobebridge.uservoice.com

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 22, 2023 Dec 22, 2023

Copy link to clipboard

Copied

I wonder if this could be part of the issue:

 

07_macos_folder.png

 

I'd expect that renaming the XMP would at least rename the NEF, but I'm not sure on the JPG... But how does this work with sequential numbering?

 

I'm curious to test and see!

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 22, 2023 Dec 22, 2023

Copy link to clipboard

Copied

OK, that wasn't the issue, Bridge gracefully renames XMP/RAW/JPG of the same name with the same prefix without stuffing up the sequence numbering.

 

rename_0000.png

rename_0001.png

rename_0002.png

 

The rename was performed using an ascending filename sort order (sort order does play a role in the order of files renamed).

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 21, 2023 Dec 21, 2023

Copy link to clipboard

Copied

I might be wrong, but I see a flaw in your sorting that might explain your problem with sequence-

Any sort function 'reads' a filename from left to right through the filename characters. Because your 'Sequence' number is on the end of the filenames any number appearing BEFORE the sequence number takes precedence in a sort.

 

In your screen-clips I indicate (in green box) the 'numbers' that are sorted BEFORE the sequence numbers take effect, and I don't see any problems- (They are sorted correctly!)

eg. FIrst clip:  20230927_0909_0231   will sort before   20230927_0910_0090

Second Clip:  20230812_1547_0098 will sort before  20230812_1551_0002

2023-12-22 06_18_02-Batch Rename - Incorrect Sequence Numbers - Adobe Community - 14309618 — Mozilla.jpg2023-12-22 06_19_54-Batch Rename - Incorrect Sequence Numbers - Adobe Community - 14309618 — Mozilla.jpg

The only way for force a strict numerical sequence is to place the sequence numbers at the beginning of file names, AND pad the sequence with enough zeros to accomodate the number of files being renamed.

eg.  0001_20230812_1551.NEF,  0002_20230812_1547.NEF,  0003_20230812_1544.NEF, etc.

 

 

Regards. My System: Lightroom-Classic 13.2 Photoshop 25.5, ACR 16.2, Lightroom 7.2, Lr-iOS 9.0.1, Bridge 14.0.2, Windows-11.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 22, 2023 Dec 22, 2023

Copy link to clipboard

Copied

Numbers you outlined in green are hours and minutes, they match the creation date on the right, which is how it’s supposed to be - there is nothing wrong with it. What’s incorrect is the sequence number at the end. In this example it starts with 0030 instead of 0001 (which is further down) and it continues to be wrong all the way down at several occasions.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 22, 2023 Dec 22, 2023

Copy link to clipboard

Copied

@GXMedia    "Numbers you outlined in green are hours and minutes"

It makes NO difference- they are still just NUMBERS in the filename- no matter what you think they represent.

My explanation is still relevant IMO.

The numbers , that YOU call hours and minutes, are still sorted as number/characters by the OS. And so the OS is sorting by 'Creation Date/Time' before it even gets to reading your added sequence numbers.

 

Regards. My System: Lightroom-Classic 13.2 Photoshop 25.5, ACR 16.2, Lightroom 7.2, Lr-iOS 9.0.1, Bridge 14.0.2, Windows-11.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jan 09, 2024 Jan 09, 2024

Copy link to clipboard

Copied

LATEST

Hi @GXMedia ,

 

We have carefully reviewed the entire thread. The batch rename function currently processes files in the order they appear in the content panel. However, as you've organized the files by name and opted to rename them based on the date created.

 

To address your specific use case, we recommend sorting the files by date created before initiating the batch rename process. Once this is done, you can subsequently sort the files by either file name or date created, and it will not impact the outcome. This approach ensures alignment with your preferences and produces the desired result.

 

If you still facing any issue, Please share the video of the issue you are observing at sharewithbr@adobe.com

 

Thanks,
Bridge Team

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines