Page 1 of 1

Command line : how to choose saving file directory ?

Posted: Fri May 08, 2015 5:41 pm
by olivier.martin
Hi,
I have a question about the command line mode.
The command "-SAVE_CLOUDS" is for saving all the new or modify clouds (activate by default), but my feeling is that we cannot choose the direction where the clouds have to be saved with that command and I think that the default directory is the directory of the last cloud loaded in the line ! Am I right ? Is there a way to choose where (the directory of a folder) my new files have to be saved.

Thank you

Olivier

Re: Command line : how to choose saving file directory ?

Posted: Mon May 11, 2015 6:49 am
by daniel
Indeed. I believe that the files are written next to their 'source' file (if any).

There's currently no option to change the default output directory. I'll add this to the TODO list.

Re: Command line : how to choose saving file directory ?

Posted: Mon May 11, 2015 11:50 am
by olivier.martin
Thank you.

Re: Command line : how to choose saving file directory ?

Posted: Thu Jun 07, 2018 4:14 am
by Sotnik
Hi,

In command line mode the file which is being opened with CC has to be in the same directory as Cloudcompare.exe? There is no way to "navigate" to the file via command line options?

Re: Command line : how to choose saving file directory ?

Posted: Thu Jun 07, 2018 7:17 am
by Sotnik
Apologies. Found an answer elsewhere and its possible to direct CC to any file location using command line syntax.

Re: Command line : how to choose saving file directory ?

Posted: Fri Dec 19, 2025 3:11 pm
by linda
Hi,

has there been any update on this? Would be great not to overwrite the source file.
Also, having the option to only save selected files would be fantastic :)

Cheers,
Linda

Re: Command line : how to choose saving file directory ?

Posted: Sun Dec 28, 2025 10:48 am
by daniel
As implied by the previous message, you can either start the command from another directory or use the -FILE setting to specify the output filename so that it's unique.