rsync: add -rauL option (#3802)
Co-authored-by: Agniva De Sarker <agnivade@yahoo.co.in>
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
`rsync {{remote_host}}:{{path/to/remote_file}} {{path/to/local_directory}}`
|
`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}}`
|
`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}}`
|
`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:
|
- Transfer file over SSH and delete local files that do not exist on remote host:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user