rsync
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| rsync [2021/09/23 17:57] – chifek | rsync [2023/09/14 06:06] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 27: | Line 27: | ||
| From your local machine: | From your local machine: | ||
| - | <CODE>rsync -chavzP --stats user@remote.host:/ | + | |
| + | <code> | ||
| + | rsync -chavzP --stats user@remote.host:/ | ||
| + | </code> | ||
| + | |||
| + | |||
| + | From your local machine with a non standard ssh port: | ||
| + | |||
| + | |||
| + | < | ||
| + | rsync -chavzP -e "ssh -p $portNumber" | ||
| + | </ | ||
| + | |||
| + | |||
| + | Or from the remote host, assuming you really want to work this way and your local machine is listening on SSH: | ||
| + | |||
| + | |||
| + | < | ||
| + | rsync -chavzP --stats / | ||
| + | </ | ||
rsync.1632419829.txt.gz · Last modified: 2023/09/14 06:06 (external edit)