Page 1 of 1
Rename one file to create duplicates
Posted: 2012-10-30 13:01:28
by harlam
I have one "productpicture.jpg" and want to rename/duplicate it via a "list.txt" containing several non-sequential articlenumbers, e.g.
00100
09101
13102
13116
14156
14309
16310
17353
17399
18606
18607
18608
19613
21614
21800
23953,
so that i have 00100.jpg, 09101.jpg, 13102.jpg etc., which are all copies of productpicture.jpg.
Is it possible to do this with Ant Renamer? And how?
Cheers,
Harald
Posted: 2012-10-30 14:51:30
by antp
Hi,
you could do a copy/paste of the file several time in Windows Explorer: press ctrl+c, then press ctrl+v the number of times you want to have a copy of the file. Then you can rename all these copies in Ant Renamer with the list that you'll put in the "from list" action.
Posted: 2012-10-31 11:38:52
by harlam
antp wrote:Hi,
you could do a copy/paste of the file several time in Windows Explorer: press ctrl+c, then press ctrl+v the number of times you want to have a copy of the file. Then you can rename all these copies in Ant Renamer with the list that you'll put in the "from list" action.
Thanks for the quick response.
In general this is a simple way, yes. But what if you have hundreds and thousands of these files?
Alas, this is not feasible.
Posted: 2012-10-31 13:12:27
by antp
It should be possible to quickly generate a give number of copies of a file with a batch script.
Indeed Ant Renamer does not handle that particular case of generating copies of a file.