prefer rsync over scp
This commit is contained in:
@ -244,6 +244,7 @@ Notes:
|
|||||||
```sh
|
```sh
|
||||||
mkdir empty && rsync -r --delete empty/ some-dir && rmdir some-dir
|
mkdir empty && rsync -r --delete empty/ some-dir && rmdir some-dir
|
||||||
```
|
```
|
||||||
|
Also use `rsync` instead of `scp`, so that after network interruption you resume the file transfer rather than restarting from scratch.
|
||||||
|
|
||||||
- Use `shuf` to shuffle or select random lines from a file.
|
- Use `shuf` to shuffle or select random lines from a file.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user