To configure your account, use insync-headless account [OPTIONS] COMMAND [ARGS] . . .
.
Commands:
add
allows you to add an account via auth code.
Subcommands of add
:
-a, --auth-code TEXT
is the auth code received from signing in at http://connect.insynchq.com/auth?cloud=<CLOUD>. This is required. For example:https://connect.insynchq.com/auth?cloud=gd
-c, --cloud [gd|od|dx]
specifies the cloud provider to add the account for: Google Drive (gd), OneDrive (od), or Dropbox (dx). This is required. For example:insync-headless account add -c gd -a AUTH CODE
-p, --path TEXT
sets the path to sync your files to. This is also called the Base Folder.-e, --export-option [LINK|MS_OFFICE|OPEN_DOCUMENT]
to pick an export option for Google-format items.
Commands:
list
provides a list of existing accounts.remove
allows you to remove an account.
Subcommand of remove
:
-c, --cloud [gd|od|dx]
specifies the cloud provider of the account to remove: Google Drive (gd), OneDrive (od), or Dropbox (dx).