feat: add rsync pastebin

main
sudo pacman -Syu 2023-07-31 01:34:29 +07:00
parent 37ae8fd5bc
commit bb88646920
1 changed files with 21 additions and 0 deletions

View File

@ -258,6 +258,27 @@ Run:
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)
Rename: