mirror of https://github.com/CrimsonTome/tldr.git
rsync: add -rauL option (#3802)
Co-authored-by: Agniva De Sarker <agnivade@yahoo.co.in>client-spec/clarity
parent
c2b6060f6d
commit
206e00387d
|
@ -11,7 +11,7 @@
|
|||
|
||||
`rsync {{remote_host}}:{{path/to/remote_file}} {{path/to/local_directory}}`
|
||||
|
||||
- Transfer file in archive (to preserve attributes) and compressed (zipped) mode with verbose and human-readable progress:
|
||||
- Transfer file in [a]rchive (to preserve attributes) and compressed ([z]ipped) mode with [v]erbose and [h]uman-readable [p]rogress:
|
||||
|
||||
`rsync -azvhP {{path/to/local_file}} {{remote_host}}:{{path/to/remote_directory}}`
|
||||
|
||||
|
@ -23,9 +23,9 @@
|
|||
|
||||
`rsync -r {{remote_host}}:{{path/to/remote_directory}}/ {{path/to/local_directory}}`
|
||||
|
||||
- Transfer only updated files from remote host:
|
||||
- Transfer a directory [r]ecursively, in [a]rchive to preserve attributes, resolving contained soft[l]inks , and ignoring already transferred files [u]nless newer:
|
||||
|
||||
`rsync -ru {{remote_host}}:{{path/to/remote_directory}} {{path/to/local_directory}}`
|
||||
`rsync -rauL {{remote_host}}:{{path/to/remote_file}} {{path/to/local_directory}}`
|
||||
|
||||
- Transfer file over SSH and delete local files that do not exist on remote host:
|
||||
|
||||
|
|
Loading…
Reference in New Issue