The database mode, encryption type and password can also be specified from the command line. This lets you create a shortcut to a database on a removable or portable drive which can be opened automatically.
Argument | Meaning | Required | Example |
---|---|---|---|
db | Database path. | No, but if omitted all other required database attributes (hostname, username, databasename) must be specified. |
|
dbhost | Database Hostname | No |
|
dbport | Database Port Number | No |
|
dbuser | Database Username | No |
|
dbpass | Database Password | No |
|
dbdatabase | Database Name | No |
|
mode or m | Database mode | No, but if present must be one of:
|
|
encryption or e | Encryption Algorithm | No, but if present must be one of:
|
|
pw | Password | No |
|
? | Show help | No |
Arguments are not case sensitive, and can be specified by either a dash (-db=myfile.lce) or a slash (/db=myfile.lce).
If only a path is specified, LockCrypt will try to detect the filetype and try each encryption algorithm, assuming a blank password.
If only one argument is specified, it is assumed to be a path to a path to a database descriptor file.