mirror of
https://github.com/xmengnet/the-art-of-command-line.git
synced 2024-12-24 10:56:29 +08:00
prefer rsync over scp
This commit is contained in:
parent
4e1abd4391
commit
f4544843b2
1 changed files with 1 additions and 0 deletions
|
@ -244,6 +244,7 @@ Notes:
|
|||
```sh
|
||||
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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue