#1 2020-05-21 08:17

Fiorellino
Member
Registered: 2020-05-21
Posts: 3

How to rename changed ordered file lists with ONE preset?

Hi everybody!

I have an ordered file list in this form:

0001.jpg
0002.jpg
0003.jpg
0004.jpg
0005.jpg
0006.jpg

Often I add a new file within the list:

0001.jpg
0002.jpg
0003.jpg
0004.jpg
0004-new.jpg
0005.jpg
0006.jpg


Trying to rename the files with my simple renaming preset causes logically a conflict at "0004-new.jpg", because "0005.jpg" already exists (see screenshot at the end of this post):

1. DELETE – Delete from Position 1 until the End (skip extension)
2. SERIALIZE – Incremental from 1 repeat 1 step 1 and pad to length 4 as Prefix

Also other options in the Serialize section don't work ("Replace current name"...), because "0005.jpg" already exists.


So, to rename, I first run another preset that adds something to the file names:

x-0001.jpg
x-0002.jpg
x-0003.jpg
x-0004.jpg
x-0004-new.jpg
x-0005.jpg
x-0006.jpg

Now my simple renaming preset works:

0001.jpg
0002.jpg
0003.jpg
0004.jpg
0005.jpg
0006.jpg
0007.jpg


But I think it's stupid to run every time TWO presets. What can I do to rename my files in this case with just ONE preset?

Best wishes,
Fiorellino

Screenshot that demonstrates the conflict:

Conflict

Offline

#2 2020-05-21 10:54

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,370

Re: How to rename changed ordered file lists with ONE preset?

Just before clicking the Rename button, sort in reverse order by the Name or the New Name column.

ReNamer always processes files sequentially from top to bottom, so sorting in reverse order will ensure that during the renaming the conflicts will not actually materialize.

Give it a try on some test files first, so you can get confident with this approach.

Offline

#3 2020-05-21 22:45

Stamimail
Member
Registered: 2016-05-08
Posts: 81

Re: How to rename changed ordered file lists with ONE preset?

den4b wrote:

Just before clicking the Rename button, sort in reverse order by the Name or the New Name column.

ReNamer always processes files sequentially from top to bottom, so sorting in reverse order will ensure that during the renaming the conflicts will not actually materialize.

Give it a try on some test files first, so you can get confident with this approach.

Why can't the program do this sorting automatically at background, without involving the user? why isn't there such an option is settings to allow this?

Offline

Board footer

Powered by FluxBB