1
0
mirror of https://github.com/gilbertchen/duplicacy synced 2025-12-20 18:23:29 +00:00

Updated init (markdown)

gilbertchen
2020-08-17 22:54:39 -04:00
parent 6b956082e8
commit bd166de726

@@ -10,11 +10,11 @@ OPTIONS:
-chunk-size, -c <size> the average size of chunks (default is 4M) -chunk-size, -c <size> the average size of chunks (default is 4M)
-max-chunk-size, -max <size> the maximum size of chunks (default is chunk-size*4) -max-chunk-size, -max <size> the maximum size of chunks (default is chunk-size*4)
-min-chunk-size, -min <size> the minimum size of chunks (default is chunk-size/4) -min-chunk-size, -min <size> the minimum size of chunks (default is chunk-size/4)
-iterations <i> the number of iterations used in storage key derivation (default is 16384) -iterations <i> the number of iterations used in storage key derivation (default is 16384)
-pref-dir <path> alternate location for the .duplicacy directory (absolute or relative to current directory) -pref-dir <path> alternate location for the .duplicacy directory (absolute or relative to current directory)
-storage-name <name> assign a name to the storage -storage-name <name> assign a name to the storage
-key <public key> the RSA public key to encrypt file chunks -key <public key> the RSA public key to encrypt file chunks
-repository <path> initialize a new repository at the specified path rather than the current working directory -repository <path> initialize a new repository at the specified path rather than the current working directory
``` ```
The *init* command first connects to the storage specified by the storage URL. If the storage has been already initialized before, it will download the storage configuration (stored in the file named *config*) and ignore the options provided in the command line. Otherwise, it will create the configuration file from the options and upload the file. The *init* command first connects to the storage specified by the storage URL. If the storage has been already initialized before, it will download the storage configuration (stored in the file named *config*) and ignore the options provided in the command line. Otherwise, it will create the configuration file from the options and upload the file.