Some troubles ...

If you need help on how to use the program
Post Reply
Platais
Posts: 4
Joined: 2005-03-02 12:25:51

Some troubles ...

Post by Platais »

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? :/
antp
Site Admin
Posts: 9630
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

if you check the "log" tab, what is said for this file?
Platais
Posts: 4
Joined: 2005-03-02 12:25:51

Post by Platais »

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).
antp
Site Admin
Posts: 9630
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

I plan to add multiple undo, but I do not really see what you mean by "merging actions". Or was it only for the undo?
Platais
Posts: 4
Joined: 2005-03-02 12:25:51

Post by Platais »

"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.
antp
Site Admin
Posts: 9630
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

I see what you mean... Yes, this could be a nice idea actually. I have to think how to integrate that in the user interface, and what implications it has in the program.
I'll put it in my to-do list, but I do not know when I'll do that :/
Post Reply