From 8429aa9e0e89ae8310dcb070dcf1912369f83dd1 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Tue, 13 Apr 2004 00:32:58 +0000 Subject: [PATCH] Added an example for --link-dest. --- rsync.yo | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rsync.yo b/rsync.yo index a3c2159e..cac32679 100644 --- a/rsync.yo +++ b/rsync.yo @@ -737,6 +737,11 @@ unchanged files. Files with changed ownership or permissions will not be linked. Like bf(--compare-dest) if DIR is a relative path, it is relative to the destination directory (which changes in a recursive transfer). +An example: + +verb( + rsync -av --link-dest=$PWD/prior_dir host:src_dir/ new_dir/ +) dit(bf(-z, --compress)) With this option, rsync compresses any data from the files that it sends to the destination machine. This -- 2.34.1