Renaming file into different folders based on date tags using Command Line

Advanced Renamer forum
#1 : 15/11-14 20:44
Aticatac
Aticatac
Posts: 3
Hi,
I've been searching in the documentation and on the forum but have not been able to find the answer to my query (apologies if it has been answered and I'm being dense).

I'm looking to rename digital camera photos to a different folder including further sub-folders based on the img tag details using the command line tool.

e.g
c:\test\20141115_120059.jpg

to

c:\test2\2014\11\15\20141115_120059_phonemodel.jpg

I can see that it can be done with the main GUI tool, I can't work out how to achieve this with the command line version.

Hope somebody can help.

Thanks.


15/11-14 20:44
#2 : 15/11-14 20:50
Aticatac
Aticatac
Posts: 3
Reply to #1:

Specifically I'd like to script this using task scheduler, hence the reason for the Command Line version.
Thanks.


15/11-14 20:50
#3 : 17/11-14 14:58
Stefan
Stefan
Posts: 274
Reply to #2:
 
Hi,

did you saw that help? > http://www.advancedrenamer.com/user_guide/comma ndline

Example:   "D:\rive\path\to\arenC.exe"     -e "D:\rive\path\to\mybatch.aren"     -p "c:\temp"



Can you post the command line used by you?


 


17/11-14 14:58
#4 : 17/11-14 16:08
Stefan
Stefan
Posts: 274
Reply to #3:
 
addendum

do you use the newest version, which will support you even more on configuring the command line utility:


http://www.advancedrenamer.com/whatsnew

Version 3.61, 14. jan. 2014

Window for configuring the command line utility
The command line version of Advanced Renamer has been included within the package for many years
but now you can also configure it from within the window based edition of the program.
 


17/11-14 16:08
#5 : 29/11-14 21:46
Aticatac
Aticatac
Posts: 3
Reply to #3:

Sorry I don't specifically have an example command line I've used as I don't know how to achieve what I need.

I've been using the command below to rename the files which works okay, but this doesn't touch folder creation:

arenc.exe -e CameraImages.aren -t files -p "D:\Camera" -msk *.jpg -m move -d "D:\Camera Uploads" -l camera.log

The contents of CameraImages.aren are as follows:

[header]
type=preset
application=Advanced Renamer 3.64
application_version=3640000

[namecollision]
separator=_
pattern=
rule=append_number

[methods]
method0000=methodname:"newname"; active:"1"; mask:"<Img Year><Img Month><Img Day>-<Img Hour><Img Min><Img Sec>-<Img CameraModel>_[<Name>].<Ext>"; applyto:"nameandextension";



29/11-14 21:46