Mention that --del is a popt alias for --delete-during, so there's
authorWayne Davison <wayned@samba.org>
Tue, 25 Jan 2005 03:09:06 +0000 (03:09 +0000)
committerWayne Davison <wayned@samba.org>
Tue, 25 Jan 2005 03:09:06 +0000 (03:09 +0000)
no need to refuse "del" by name -- just refusing "delete-during" or
"delete*" is sufficient.

rsyncd.conf.yo

index 90854dd..0a3a556 100644 (file)
@@ -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