Command Line
Principalm Connect can be run from the command line to perform import and card update tasks.
Windows example: Connectcmd.exe –p1234 –oG:
runs an import (if necessary) and updates the card in drive G. You can use a tool like Windows Task Scheduler to script Connect to run overnight. Connectcmd.exe can be found here: C:\Program Files\Discovery Software\Principalm
Mac example: ./Connectcmd -t"iPhone Update Service" –p1234 –o"/Users/username/Library/Application Support/Principalm Connect/"
runs an import (if necessary) and hosts the encrypted data files. These files can then be synced (copied) to your iOS device. You can use a tool like cron to schedule Connect to run overnight. Connectcmd can be found here: /Applications/Principalm Connect.app/Contents/
Here are the command line parameters for Connect:
- -i
- Import. Sets a prefs path, uses this path instead of the Program Data path. Use this command by itself to perform an import without updating any cards.
- -t
- iPhone Update Service. Required if you would like to update your iOS device.
-t"iPhone Update Service"- -b
- Port. Set non-default port for iPhone Update Service. If no -a is set port will default to 8080.
-b"8081"- -o
- Output location. This parameter is required in order to update a memory card or iOS device (Note: for iOS devices, updating for the default user is the only option currently possible).
-oG: OR-o"C:\Users\<username>\AppData\Roaming\Principalm Connect\" (for iOS devices)- -p
- Password for the card.
This parameter is required in order to update a card (either -p or -e or -a required). -p1234- -e
- Password (Encoded) for the card. This parameter is required in order to update a card (either -p or -e or -a required).
Encoded passwords can be generated by Principalm Connect and are stored inside the User Configuration file. Contact our Support Department if you need assistance with this feature. -e"aO$*aO"- -a
- User Account. You will need to use the User ID for this parameter. If -e or -p (password) is not supplied set password from user will be used.
-a"_default_"- -l
- Log file to use. Overrides Connect’s default log.
-l"C:\my folder\my logs\log.txt"- -r
- Rebuild Local Database. Invokes the rebuild function, just as the checkbox in the Update Card dialog.
