40000 file batch very slow

Advanced Renamer forum
#1 : 16/03-18 13:31
Marco
Marco
Posts: 1
Hi, I use this script every day to update file names in a folder with 40000 jpeg files

################################
batchmode=rename

[namecollision]
separator=_
pattern=
rule=append_number

[methods]
method0000=methodname:"newname"; active:"1"; mask:"<DirName:1>"; applyto:"name";
###################################
the folder is always the same and every day 40 files are added to those already renamed

every day it takes 30 minutes to rename the files
there is a way to speed up
thank you


16/03-18 13:31
#2 : 16/03-18 14:46
Mark
Mark
Posts: 175
Reply to #1:
Do you mean to speed up the script or to find a quicker process (like applying a standard AR Method)?


16/03-18 14:46
#3 : 21/03-18 10:47
Kim Jensen
Kim Jensen
Administrator
Posts: 804
Reply to #1:
You should look out for the next version. It will greatly improve performance when working with large bathes.

It seems as you add ~ 40000 files to Advanced Renamer but only want to rename 40. If you can exclude the files that have already been renamed, you can improve performance by a lot. You might be able to exclude the already renamed files by using the mask feature when adding files.


21/03-18 10:47
#4 : 26/03-18 05:01
D.Ach
D.Ach
Posts: 35
You could use a staging folder for new renames and then move them to the desired folder after.
I use staging for everything, not just this program.


26/03-18 05:01