Any advancements on cmd line usage?

Advanced Renamer forum
#1 : 21/04-11 02:21
Spiro Conomos
Spiro Conomos
Posts: 15
Hi,

I notice there are some occasional posts in the forum about command line usage. I would like to invoke with a Preset, run it, and then auto exit (say, only if there are no errors). Possible now? Maybe one day?

thanks,
Spiro


21/04-11 02:21
#2 : 21/04-11 09:49
Kim Jensen
Kim Jensen
Administrator
Posts: 880
Reply to #1:
I would like to make a true command line version of Advanced Renamer. That means that there will not be any graphical user interface, only a command line interface. I expect to allow the renaming settings to be set up in the graphical tool, saved and used in the command line utility.

The architecture of the program did not allow me to make a command line version for a long time. But with the release of version 3.0 I have prepared the architecture for a future command line utility.

I cannot say anything right now about when the utility will be released. In the mean time I will collect some research about the expected usage of such a utility. Can you tell me more about your needs for command line usage and the context of use? Do you want to use it for automatic batch processes or for convenience shortcuts?


21/04-11 09:49
#3 : 27/04-11 01:45
Spiro Conomos
Spiro Conomos
Posts: 15
Hi thanks for speedy reply.
My use is more for convenient shortcuts. I have a number of favorite renaming lists of patterns (say one list for doc's, one for music, one for images) and I want to select some files in the explorer window, right click on them and launch the ranamer with a selected preset.

Note that I am not asking you to add the shell hooking for right clicking. I would just use a button in my explorer toolbar (freecommander) or a submeu in the quicklaunch toolbar (the menu items would allow me to select which preset to use).

Separating the GUI from the engine is not necessary for me at least. My presets might take months of refinement (adding exceptions and new cases). During those months, I glance down the target files prior to launch and if anything looks like a new case, I launch the GUI version first to check the preset will handle it. Personally for me (seeing as I am not using it any sort of automated batch file or other background process), it would not bother me if the gui popped up momentarily. I only use it as the foreground application for the current task I am working on.

I hope I have explained myself properly! Thanks!!


27/04-11 01:45
#4 : 29/04-11 08:30
Kim Jensen
Kim Jensen
Administrator
Posts: 880
Reply to #3:
What you basically want is to start up Advanced Renamer preconfigured with the settings from a file. That should not be a big problem to implement. But it might take some time before I have the time for it.


29/04-11 08:30
#5 : 28/11-11 12:14
Erwin Fiten
Erwin Fiten
Posts: 3
Reply to #4:

What I want to do with the command line renamer is :

AFR.EXE %1 %2
where :
%1 is the script that has to be run (.aren)
%2 : the source dir


That way I can schedule a task to rename a dir at a certian time.

Erwin


28/11-11 12:14 - edited 28/11-11 12:16
#6 : 28/11-11 14:08
Kim Jensen
Kim Jensen
Administrator
Posts: 880
Reply to #5:
It is a large restructure task to enable command line usage. I am working on it at the moment and it will be released in the next beta. With the command line version of Advanced Renamer you can setup your batch job in the graphical user interface, save it to a file, and use it in a batch command like you describe.


28/11-11 14:08