Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
io-developer committed Sep 25, 2020
1 parent 3e263c5 commit b8afa0f
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,17 @@ files
},
}
```
* Specify remote destination directory with `-o /Uploads/01/`
* Set desired max parallel threads `-threads 4`
* Run
* Specify remote destination directory `-o /Uploads/01/`
* Set desired max number of threads `-threads 4`
* Run with local binary (built by `build.sh` or `build-with-docker.sh`):
```bash
{path_to_davsync_folder}/bin/davsync \
-i $(pwd)/files \
-o "/Uploads/01" \
-oconf $(pwd)/davconf.json \
-threads 4
```
* Or run the same with docker without building:
```bash
docker run --rm \
-v $(pwd)/files:/input \
Expand All @@ -64,7 +72,7 @@ docker run --rm \
-oconf /davconf.json \
-threads 4
```
* Output should be like:
* Output should be like this:
```
Sync: Making dirs...
Sync: make dir /
Expand Down

0 comments on commit b8afa0f

Please sign in to comment.