mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-10 19:47:03 +00:00
Update cheatsheets
This commit is contained in:
@@ -9,7 +9,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> To specify a remote path, use `user@host:path/to/file_or_directory`.
|
||||
> More information: <https://download.samba.org/pub/rsync/rsync.1>.
|
||||
|
||||
- Transfer a file:
|
||||
- Transfer a file (use `--dry-run` to simulate the transfer):
|
||||
|
||||
`rsync {{path/to/source}} {{path/to/destination}}`
|
||||
|
||||
@@ -21,9 +21,9 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`rsync {{[-zvhP|--compress --verbose --human-readable --partial --progress]}} {{path/to/source}} {{path/to/destination}}`
|
||||
|
||||
- Recursively copy directories:
|
||||
- Recursively copy directories and ensure each file is fully committed to disk rather than remaining in RAM:
|
||||
|
||||
`rsync {{[-r|--recursive]}} {{path/to/source}} {{path/to/destination}}`
|
||||
`rsync {{[-r|--recursive]}} --fsync {{path/to/source}} {{path/to/destination}}`
|
||||
|
||||
- Transfer directory contents, but not the directory itself:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user