1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-24 09:35:25 +02:00

better than better

better than better
This commit is contained in:
Matthew 2015-12-29 13:03:08 +08:00
parent 86321bcb0e
commit d693904250

View file

@ -4,9 +4,9 @@
> Does not allow transfer between two remote hosts
> Can transfer single files or files matched by pattern
- transfer file from local to remote host, it supports regex.
- transfer file from local to remote host, filename supports regex.
`rsync {{path_to_file}} {{remote_host_name}}:{{remote_host_location}}`
`rsync {{path/to/file}} {{remote_host_name}}:{{remote_host_location}}`
- transfer file from remote host to local
@ -14,7 +14,7 @@
- transfer file in archive (to preserve attributes) and compressed (zipped) mode
`rsync -az {{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