mirror of
https://github.com/jkl1337/duplicacy.git
synced 2026-01-02 11:44:45 -06:00
Update README.md
This commit is contained in:
11
README.md
11
README.md
@@ -28,6 +28,7 @@ The [design document](https://github.com/gilbertchen/duplicacy-cli/blob/master/D
|
||||
|
||||
## Getting Started
|
||||
|
||||
<details> <summary>Installation</summary>
|
||||
Duplicacy is written in Go. You can run the following command to build the executable (which will be created under `$GOPATH/bin`):
|
||||
|
||||
```
|
||||
@@ -36,6 +37,10 @@ go get -u github.com/gilbertchen/duplicacy/...
|
||||
|
||||
You can also visit the [releases page](https://github.com/gilbertchen/duplicacy-cli/releases/latest) to download the pre-built binary suitable for your platform..
|
||||
|
||||
</details>
|
||||
|
||||
<details> <summary>Commands</summary>
|
||||
|
||||
Once you have the Duplicacy executable on your path, you can change to the directory that you want to back up (called *repository*) and run the *init* command:
|
||||
|
||||
```
|
||||
@@ -57,10 +62,9 @@ $ duplicacy restore -r 1
|
||||
```
|
||||
|
||||
|
||||
<details>
|
||||
<summary>
|
||||
|
||||
Duplicacy provides a set of commands, such as list, check, diff, cat history, to manage snapshots:
|
||||
</summary>
|
||||
|
||||
|
||||
```makefile
|
||||
$ duplicacy list # List all snapshots
|
||||
@@ -109,6 +113,7 @@ $ duplicacy copy -to s3 # Copy every snapshot to the s3 storage
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
The [User Guide](https://github.com/gilbertchen/duplicacy-cli/blob/master/GUIDE.md) contains a complete reference to
|
||||
all commands and other features of Duplicacy.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user