Hello!
I created a batch with 2 steps, hear is the abr:
<?xml version="1.0" encoding="UTF-8"?>
<AntRenamer Version="2.08.3" Date="2006-01-11">
<Batch>
<DateTime Mask="yyyy'-'mm'-'dd'_'hhnne" AddSuffix="0"/>
<Enum Mask="%name%%num%%ext%" Start="1" Digits="2" Incr="1"/>
</Batch>
</AntRenamer>
by opening a list of files in preview all seams to be OK, BUT by pressing "GO" got such a results:
original file name:
1.eml
2.eml
3.eml
4.eml
preview:
2006-01-10_112201.eml
2006-01-10_112203.eml
2006-01-11_131103.eml
2006-01-11_134804.eml
results:
2006-01-10_112201.eml
202.eml
2006-01-11_131103.eml
2006-01-11_134804.eml
Why?
Some troubles ...
OK I found a problem and have done it a litle bit dferent way.
I have some suggestions.
It will be nice to make an option to merge multiple actions (not step by step) because the first step, can produce identicly file names.
There is a problem with an multiple actions undo to (only the last action can be undo).
I have some suggestions.
It will be nice to make an option to merge multiple actions (not step by step) because the first step, can produce identicly file names.
There is a problem with an multiple actions undo to (only the last action can be undo).
"Merge actions", because there can be multiple files which after the first rename step can be the same name and there for can't be renamed. The second step will try to change al file names but some of them are leaved unchanged after first step.
Example:
say we have a two file names:
file1.bak
file2.bak
both file names have the same creation date and time (2006-01-22 12:00:00), BUT we have to rename the file names:
at first according creation date/time value:
file1.bak -> 2006-01-22_120000.bak
file2.bak -> 2006-01-22_120000.bak will be leaved as file2.bak because the new file name already exist.
the second step will add an numeric value at the end of file name
(file1.bak) 2006-01-22_120000.bak -> 2006-01-22_120000_01.bak
(file2.bak) file2.bak -> file2_02.bak
but by merging the bouth steps we can get a result:
file1.bak -> 2006-01-22_120000_01.bak
file2.bak -> 2006-01-22_120000_02.bak
merging means new file name calcualtion according all together merged actions AND only after them take real reaname action.
Example:
say we have a two file names:
file1.bak
file2.bak
both file names have the same creation date and time (2006-01-22 12:00:00), BUT we have to rename the file names:
at first according creation date/time value:
file1.bak -> 2006-01-22_120000.bak
file2.bak -> 2006-01-22_120000.bak will be leaved as file2.bak because the new file name already exist.
the second step will add an numeric value at the end of file name
(file1.bak) 2006-01-22_120000.bak -> 2006-01-22_120000_01.bak
(file2.bak) file2.bak -> file2_02.bak
but by merging the bouth steps we can get a result:
file1.bak -> 2006-01-22_120000_01.bak
file2.bak -> 2006-01-22_120000_02.bak
merging means new file name calcualtion according all together merged actions AND only after them take real reaname action.