-target_opt
-target_opt parameter is used to set additional parameters when creating names for resulting files. Today the program has only one parameter of the kind: the action to be taken if the destination folder already contains a file with the name assigned to the converted file. The general appearance of the key is as follows:
-target_opt [Parameter]:[Value]
Parameter - additional parameter name. Today, the only allowed value is: if_exists.
Value - additional parameter value. If_exists parameter can accept the following values:
- auto rename - all resulting files whose names coincide with existing file names will be renamed according to the template {user_template}(X).{Image Type}, where Х is the first number creating a unique file name.
- auto_overwrite - all resulting files whose names coincide with existing file names will overwrite existing files.
general example
ICPCL.exe -source "C:\Original files" -dest "C:\Converted files" -target_opt if_exist:rename
tips
-
Be careful when setting if_exists parameter. If the new file overwrites the existing one (if the source and destination directories are the same), it will be impossible to retrieve the source file. So there is a possibility of losing important information. Use auto_overwrite value only if you are sure that there are no important files in the destination folder.
-
The default value for this option is auto rename. If this option is not specified in the command line, the conversion is performed as if -target_opt parameter is set to auto rename.