|
To specify the configuration file the client should start with:
"-c <clientname>" |
The client will use <clientname> to create configuration files, keyfiles and others with that name in the same directory, where the configuration of the first client is located.
To show an overview of all command line parameters:
"-h" |
To specify a language file the client should use:
"-f <langfile>" |
Where langfile
is the path to the file that has to be named like translation_XX.properties
where <XX> is the country code.
To specify the language to use:
"-g <countrycode>" |
Where countrycode
is the extension of the langfile
(XX – see above).
To shut down the client:
"-k" |
Specify which level should be logged:
"-l <level>" |
level
can be on of:
To start the client minimized to the system tray:
"-m" |
To start the client in console mode, eg. with disabled GUI:
"-s" |
To set a username and password:
"-u <username>" "-p <password>" |
To start a second instance of the client on the same machine, skipping the "already running" warning:
"-z" |
In that case it's recommended to place a desktop shortcut for all users on that machine and extending the executable the shortcut points to with the above mentioned parameter.
In that case it's recommended to combine this parameter with the one to specify a configuration file and a default folder path to use (see below), so both instances will start up using a different configuration and different default folder path. Both instances will be running on the same machine then and will be able to find each other via network broadcasts using the local loopback adapter.
Folders can also be created/removed using command line options.
To create a a folder via command line:
"--createfolder" "key1=value1;key2=value2;key2=value2;..." |
Example for creating a folder via command line using a custom transfer mode:
"--createfolder" "dir=D:\Data\MyFolder;name=MyFolder;syncprofile=false,false,false,false,5,true,22,0,m,Daily Backup at 10pm;backup_by_server=true;silent=true" |
The above example creates a folder at the local directory D:\Data\MyFolder
backed up daily at 10pm to the server where the client is connected to.
The available options exaplained:
Option | Description |
---|---|
dir | Specifies where the folder should be located. Example:
|
name | Specifies the name of the folder. This name will appear in the user interface as well as on the server, the client backups the folder to. Example:
If not specified the directory name will be used as folder name. |
id | Specifies a unique folder ID which should be used for the folder. Example:
It is recommended to NOT specify the ID during folder creation. The client will generate a random generic ID automatically, which will be used to join the folder on an other client. |
syncprofile | Specifies the transfer mode which should be used for the folder. Example: syncprofile=true,true,true,true,5,false,12,0,m,Auto-sync If not specified the transfer mode Auto Sync will be used by default. Transfer Mode Configuration is described in a separate article in our documentation. |
dlscript | Specifies a script which should be executed when a new file has been successfully downloaded to the folder. Example:
|
backup_by_server | Specifies if the folder should automatically be backed up on the server the client is connected to. Example:
The client will automatically backup folders to the server by default. If this should be disabled set |
silent | Specifies if the folder should be configured without user interaction. Otherwise a configuration wizard will be opened to assist the user. Example:
|
Options need to be separated by semicolons.
Folders can also be created/removed using command line options. To remove a a folder via command line:
"--removefolder" "key1=value1;key2=value2;key2=value2;..." |
To specify the folder to remove, the folder name, ID or the folder path can be used. Examples:
"--removefolder" "name=MyFolder" "--removefolder" "id=[ds77X6d7834]" "--removefolder" "dir=D:\Data\MyFolder" |