From ed032a88b87fe7e8b6bf0889ed0daae9bb3859d0 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Tue, 25 Jan 2005 03:09:06 +0000 Subject: [PATCH] Mention that --del is a popt alias for --delete-during, so there's no need to refuse "del" by name -- just refusing "delete-during" or "delete*" is sufficient. --- rsyncd.conf.yo | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rsyncd.conf.yo b/rsyncd.conf.yo index 90854dd8..0a3a556b 100644 --- a/rsyncd.conf.yo +++ b/rsyncd.conf.yo @@ -411,6 +411,10 @@ To prevent all compression, you can use "dont compress = *" (see below) instead of "refuse options = compress" to avoid returning an error to a client that requests compression. +Note that rsync's --del option is implemented as a popt alias, so there +is no need (an indeed, no way) to refuse "del" by name -- just matching +the --delete-during option (e.g. "delete*") will refuse --del as well. + dit(bf(dont compress)) The "dont compress" option allows you to select filenames based on wildcard patterns that should not be compressed during transfer. Compression is expensive in terms of CPU usage so it -- 2.34.1