Add rsync.md

This commit is contained in:
Johan 2022-06-16 15:41:31 +02:00
parent 9274fc84e7
commit c7326c7bdc

View File

@ -12,3 +12,11 @@
* W: whole-file, copy files whole
* X: xattrs, preserve extended attributes
* S: sparse, handle sparse files efficiently
### Kopiera mellan maskiner via SSH
Push:
<pre><code>rsync [-other options] -e 'ssh -p 22' SOURCE user@x.x.x.x:DESTINATION</code></pre>
Pull:
<pre><code>rsync [-other options] -e 'ssh -p 22' user@x.x.x.x:SOURCE DESTINATION</code></pre>