mirror of https://github.com/CrimsonTome/tldr.git
parent
67e4f13516
commit
86321bcb0e
|
@ -12,9 +12,9 @@
|
|||
|
||||
`rsync {{remote_host_name}}:{{remote_file_location}} {{local_file_location}}`
|
||||
|
||||
- transfer file in archive and compress mode, it keeps attribute and reduces the size.
|
||||
- transfer file in archive (to preserve attributes) and compressed (zipped) mode
|
||||
|
||||
`rsync -avz {{path_to_file}} {{remote_host_name}}:{{remote_host_location}}`
|
||||
`rsync -az {{path_to_file}} {{remote_host_name}}:{{remote_host_location}}`
|
||||
|
||||
- transfer a directory and all its children from a remote to local
|
||||
|
||||
|
|
Loading…
Reference in New Issue