Similarly to Egnyte Desktop App, Desktop App Core also contains Command Line Interface.
Run egcli for a list of supported commands and additional details.
--version Shows the version
-h, --help Shows help information
drives Manage your drives
logs Logging level
nuke Removes all internal data and every drive installed in the system
settings Configure Egnyte settings (for now only auto-launch)
auto-upgrade Check or influence auto-upgrade state
suppressions Suppress alerts/dialogs
uploads See recent and pending uploads
Run egcli drives add -h to get list of options
OVERVIEW: Adds new drive. USAGE: egcli drives add [--silent] [--forceSSO] [--openSession] [--username <username>] [--password <password>] [--domain <domain>] [--cloudStartPath <cloudStartPath>] [<drive>] ARGUMENTS: <drive> Label associated with drive. OPTIONS: --silent Instead of presenting GUI it tries to add a drive immediately. --forceSSO Forces SSO authentication. Using this flag causes username to be ignored and makes domain option required. --openSession If specified, user interface would be immediately opened to finish configuration. --username <username> Username within the specified domain. Required in silent mode. --password <password> Password for a given username. Required and taken into consideration only in silent mode. --domain <domain> Domain URL for which to add a drive. Required in silent mode. --cloudStartPath <cloudStartPath> Cloud path to serve as a drive's root. --version Show the version. -h, --help Show help information.
We additionally extended available options in adding Connected Folder through CLI: (available with v0.7 and above)
egcli connected-folders add --drive <drive> -lp <lp> -cp <cp> [--child]
-d, --drive <drive> Label or UUID associated with drive.
-lp, --localPath <lp> Local path for which to establish the connection.
-cp, --cloudPath <cp> Cloud path for which to establish the connection.
-c, --child Add path as a child.
Adding -c or –child at the end of the connected-folders command will create a folder in the cloud path with the same name as the folder on local drive. Not adding -c or -child will connect local folder directly to cloud path.
Custom Cloud Start Path can only be added via Command Line Interface and only during the drive addition step. After the addition, it cannot be changed.
egcli drives add <drive_label> --domain <domain>.egnyte.com --username <egnyte_user> --password <egnyte_password> --cloudStartPath /Shared/Documents/
At each sub-level command, type -- at the end to get additional documentation to guide you to the appropriate actions.
egcli drives list