initial commit
This commit is contained in:
31
many-rsync/README.md
Normal file
31
many-rsync/README.md
Normal file
@@ -0,0 +1,31 @@
|
||||
# server-toolset
|
||||
|
||||
## many-rsync
|
||||
|
||||
rsync a set of folders to the remote in parallel.
|
||||
|
||||
### config
|
||||
|
||||
use TOML (preferred) or JSON.
|
||||
|
||||
```toml
|
||||
# parallel rsync configuration
|
||||
# remote_folder: full rsync-compatible remote path
|
||||
# don't forget the trailing slash!
|
||||
# /Users/foo/target/
|
||||
# foo@bar:/home/foo/target/
|
||||
remote_folder = ""
|
||||
|
||||
# local_folders: bare folder names (resolved relative to $HOME)
|
||||
local_folders = ["a"]
|
||||
|
||||
# n: max parallel rsync processes (default: 2)
|
||||
n = 2
|
||||
|
||||
# log_level: pick from DEBUG | INFO | WARNING | ERROR | CRITICAL
|
||||
log_level = "INFO"
|
||||
```
|
||||
|
||||
- remote_folder: rsync-compatible full path to the target folder in remote. "remote" here means that it's the target of the operation, and could still reside on the local system.
|
||||
- **do not forget to use the trailing slash!**
|
||||
- local_folders:
|
||||
Reference in New Issue
Block a user