feat: add rsync pastebin
parent
37ae8fd5bc
commit
bb88646920
|
@ -258,6 +258,27 @@ Run:
|
||||||
instaloader +login.txt +args.txt +targets.txt
|
instaloader +login.txt +args.txt +targets.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## [rsync](https://github.com/WayneD/rsync)
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# Result is dst/src
|
||||||
|
rsync -azP src dst
|
||||||
|
|
||||||
|
# Result is dst/* with * is from src
|
||||||
|
rsync -azP src/ dst
|
||||||
|
```
|
||||||
|
|
||||||
|
Commonly flags:
|
||||||
|
|
||||||
|
- `-z`: compress
|
||||||
|
- `-P`: enable both `--partial`, `--progress` to easily resume after interupt
|
||||||
|
- `-n`: dry run
|
||||||
|
|
||||||
|
Be careful flags (need dry run if not sure):
|
||||||
|
|
||||||
|
- `-u`: skip if files in **dst** is already newer than in **src**
|
||||||
|
- `--delete`: delete files in **dst** if not exist in **src**
|
||||||
|
|
||||||
## [F2](https://github.com/ayoisaiah/f2)
|
## [F2](https://github.com/ayoisaiah/f2)
|
||||||
|
|
||||||
Rename:
|
Rename:
|
||||||
|
|
Loading…
Reference in New Issue