Hello
I am renaming a series of photos, using batch rename I change the name fine, but with regard to the numbering, the first is not numbered (zero?) and the next is 1 and so on.
I would like the first photograph to be No1, how can I achieve this please?
All the Best
nebb
Numbers in batch rename
-
TheQwerty
- Posts: 4373
- Joined: 03 Aug 2007 22:30
Re: Numbers in batch rename
Presumably you are giving Batch rename a pattern similar to new-name?
In this case XY renames the first item to new-name.ext and then for the second and following items it discovers a collision attempting to name them new-name.ext and adds the incremental suffix as specified in Tools | Configuration > Colors and Styles > Templates > Filename Affixes > Incremental affix (by default this is -01).
Resulting in:
new-name.ext
new-name-01.ext
new-name-02.ext
If you instead enter a pattern similar to new-name-<#1>, XY will use the number for all items resulting in:
new-name-1.ext
new-name-2.ext
new-name-3.ext
If you'd rather start numbering at say 42 use a pattern like new-name-<#42> to get:
new-name-42.ext
new-name-43.ext
new-name-44.ext
And if you want to pad the numbers to all be 4 digits long add some leading zeros such as new-name-<#0042> for:
new-name-0042.ext
new-name-0043.ext
new-name-0044.ext
Hopefully that helps!
In this case XY renames the first item to new-name.ext and then for the second and following items it discovers a collision attempting to name them new-name.ext and adds the incremental suffix as specified in Tools | Configuration > Colors and Styles > Templates > Filename Affixes > Incremental affix (by default this is -01).
Resulting in:
new-name.ext
new-name-01.ext
new-name-02.ext
If you instead enter a pattern similar to new-name-<#1>, XY will use the number for all items resulting in:
new-name-1.ext
new-name-2.ext
new-name-3.ext
If you'd rather start numbering at say 42 use a pattern like new-name-<#42> to get:
new-name-42.ext
new-name-43.ext
new-name-44.ext
And if you want to pad the numbers to all be 4 digits long add some leading zeros such as new-name-<#0042> for:
new-name-0042.ext
new-name-0043.ext
new-name-0044.ext
Hopefully that helps!
-
nebb
- Posts: 17
- Joined: 12 Feb 2015 12:01
Re: Numbers in batch rename
Hello TheQuerty,
Just did as you said and it worked fine, now all I've got to do is remember it.
Thank you very much for your help, much appreciated.
All the Best
nebb
Just did as you said and it worked fine, now all I've got to do is remember it.
Thank you very much for your help, much appreciated.
All the Best
nebb
-
TheQwerty
- Posts: 4373
- Joined: 03 Aug 2007 22:30
Re: Numbers in batch rename
Glad to have helped!
FYI, if you ever need a small reminder of the syntax you can click the little blue info icon in the bottom-left of the dialog to show the usage tips:
FYI, if you ever need a small reminder of the syntax you can click the little blue info icon in the bottom-left of the dialog to show the usage tips:
To see the attached files, you need to log into the forum.
XYplorer Beta Club