Page 1 of 1

copy before renaming?

Posted: 2018-02-27 09:24:41
by parotheparrot
I want to copy the original file before renaming. The result should be the old file and the renamed file!

Any ideas out there?
TIA

Posted: 2018-02-27 12:28:12
by antp
Replied via e-mail in the meantime, summary of the discussion in case someone else has a similar question:
If you wish to keep a copy of the file under its old name, there is an option to make a copy to a new name instead of renaming (in program's Preferences, on the Processing tab), the achieved result is then similar.
I know this feature, but it's a program setting. I want to use it only sometimes through the command line.
Any idea?
Unfortunately there is no solution in the current program.
If you use it from command-line, I guess it is somehow integrated in a script?A workaround would be to run some custom tool before calling the program to update the xml file where the options are stored, and change it back afterwards (in the XML, it is in Options > Processing > Copy).
Even a basic search & replace may work (searching for Copy="False", replacing it by Copy="True", and do the opposite afterwards).