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

Updated init to reflect repository option from https://forum.duplicacy.com/t/init-command-details/1090

Philip
2020-08-12 14:09:55 +02:00
parent 5dbb5ff834
commit 6b956082e8

@@ -14,6 +14,7 @@ OPTIONS:
-pref-dir <path> alternate location for the .duplicacy directory (absolute or relative to current directory)
-storage-name <name> assign a name to the storage
-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
```
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.