Renamed files out of order

Post any Bulk Rename Command support requirements here. Open to all registered users.

Renamed files out of order

Postby CapeData » Tue Oct 11, 2016 2:36 pm

I have been successfully using BRC to rename a sequence of 900 images, cam8_xx_000 - cam8_xx_900.

However, after increasing the number of stored images to >1000, I have experienced problems with the renamed images not being in the proper time order. For example, all renamed images up to 100 are in the proper order, but then images that were originally 1000-1009 appear. After that, the sequence continues to be erratic.

I've tried many modifications to the command string, but can't sort this out.

I would appreciate any assistance.

Edit: I installed BRU to see if I could gain some insight and I believe I see what's happening: the program loads the files in this "incorrect" order, i.e., 99, 100, 1000
CapeData
 
Posts: 3
Joined: Tue Oct 11, 2016 2:00 pm

Re: Renamed files out of order

Postby therube » Tue Oct 11, 2016 6:28 pm

Sounds like an Alpha Sort vs Natural Sort issue (but your examples aren't give me enough to go on).
therube
 
Posts: 314
Joined: Mon Jan 18, 2016 6:23 pm

Re: Renamed files out of order

Postby CapeData » Tue Oct 11, 2016 10:51 pm

therube wrote:Sounds like an Alpha Sort vs Natural Sort issue (but your examples aren't give me enough to go on).


I believe you are correct..

If I select "Logical Sorting" in the GUI, the files are sorted properly, however, BRC doesn't offer this option.
CapeData
 
Posts: 3
Joined: Tue Oct 11, 2016 2:00 pm

Re: Renamed files out of order

Postby therube » Thu Oct 13, 2016 3:37 pm

If you first pad (prefix the 000-900) with a '0', that would put things back into order, up to 9999.
At 10,000, you'd need to prefix another '0'.
So 000 becomes 0000 & 999 becomes 0999.

I actually just ran into something similar, a sequence of files n_(*)_0_0.xxx, where (*) was an incrementing number, so; 1,2,3...10,11,12,...100,101,102...

In that case, with a different tool, first I searched for n_\d_0_0.xxx, which gave me 1-9, then used a regex similar to:
from: n_\d_0_0.xxx
to: n_00\d_0_0.xxx

Then I searched for n_\d\d_0_0.xxx, which gave me 10-99, then used a regex similar to:
from: n_\d\d_0_0.xxx
to: n_0\d\d_0_0.xxx

That put everything in the order I needed.
therube
 
Posts: 314
Joined: Mon Jan 18, 2016 6:23 pm

Re: Renamed files out of order

Postby CapeData » Fri Oct 14, 2016 12:54 pm

@therube

Thanks for the suggestion, I believe that would work.

I'll be away for two weeks, but will give it a try when I get back . In the meantime, I am using another renaming utility which, natively, sorted the files in the desired order.
CapeData
 
Posts: 3
Joined: Tue Oct 11, 2016 2:00 pm


Return to BRC Support