Emulate file transfer.
--- a/backup.rst Sun Sep 03 00:11:27 2017 +0300
+++ b/backup.rst Mon Sep 18 15:25:27 2017 +0300
@@ -6,6 +6,8 @@
rsync
=====
+Emulate file transfer with ``-n`` or by longer form ``--dry-run``.
+
Use FS with hardlink with ``cp -l``::
$ cp -al /backup/old /backup/new
@@ -33,5 +35,6 @@
To copy over ssh::
- rsync -n -e 'ssh -l $RUSER' -r /archive/ $RHOST:/archive/
+ $ rsync -n -e 'ssh -l $RUSER' -r /archive/ $RHOST:/archive/
+ $ rsync -n -e 'ssh -l $RUSER' -r /archive/ $RUSER@$RHOST:/archive/