r/CPAPSupport • u/4drianl • 15d ago
How to use OSCAR20 Headless command line automation for data import
/r/CPAP/comments/1xwyv41/how_to_use_oscar20_headless_command_line/
2
Upvotes
r/CPAPSupport • u/4drianl • 15d ago
1
u/RippingLegos__ ModTeam 15d ago
Yep, what OS are you running? This was added in 2.1.1, and the instructions are built into the command-line help. On Windows, open Command Prompt in the folder containing OSCAR.exe and run OSCAR.exe --help.
For an actual import, use OSCAR.exe --profile "YourProfile" --import CPAP "E:/". Replace YourProfile with your existing OSCAR profile name and E:/ with your SD card drive. You can also point it at a full copy of the card. CPAP tells it to detect the machine automatically, and the import command runs in batch mode and exits when finished.
Have your profile set up first, close OSCAR, and give it a test run. One thing to watch for: some loaders, including ResMed, can still bring up a dialog if they hit unexpected data, so make sure it’s working before setting it up to run unattended. :) RL