diff --git a/rsync.md b/rsync.md index eabcf46..3fc5c66 100644 --- a/rsync.md +++ b/rsync.md @@ -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: +
rsync [-other options] -e 'ssh -p 22' SOURCE user@x.x.x.x:DESTINATION
+
+Pull:
+rsync [-other options] -e 'ssh -p 22' user@x.x.x.x:SOURCE DESTINATION
\ No newline at end of file