Needing assistance with CLI commands

Hi I am struggling to implement a simple CLI script…

All I want to do is add images to an existing alignment as the new images are saved to a folder on my hard drive.

I don’t understand how to loop commands, or use a pause/delay (to just copy the command many times so it executes enough times). Do I just have to have the .bat call itself at the end and loop it that way? I also don’t understand how the instance naming and assigning works, which I need so I don’t open a million instances.

I can’t find a single example of this simple functionality on Google and it is quite surprising. Any help would be greatly appreciated, I feel like I exhausted my search and self tinkering.

Hi Cmonsta6,

you can try:

RealityCapture.exe ^
-load %path%\Reconstruction.rcproj ^
-add %path to images% ^

-align ^

-save %path%\Reconstruction.rcproj ^
-quit

About the pause, you can try to use Delegation of commands, which you can find here https://www.capturingreality.com/realitycapture-cli-sample-scripts and also in the application Help, if you search for Delegation of commands.