From 81dc5750ca131658e42f3a830443849a9b6d119b Mon Sep 17 00:00:00 2001 From: David Dykstra Date: Mon, 28 Jan 2002 21:09:03 +0000 Subject: [PATCH] A more accurate description of --force as I know it. --- rsync.yo | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/rsync.yo b/rsync.yo index 7952421b..084bcc5e 100644 --- a/rsync.yo +++ b/rsync.yo @@ -489,11 +489,13 @@ then use the --delete-after switch. dit(bf(--ignore-errors)) Tells --delete to go ahead and delete files even when there are IO errors. -dit(bf(--force)) This option tells rsync to delete directories -when non-directories (for example symlinks or plain files) take their -place even if the deleted directories are not empty. This applies to both -the --delete option and to cases where rsync tries to copy a normal file -but the destination contains a directory of the same name. +dit(bf(--force)) This option used to alter the behavior of the --delete +option to force deletion of non-empty directories, but that happens now +anyway because rsync does deletes in depth-first order. The only known +difference that --force makes now is an obscure case where the source is a +non-directory (for example a file or a symlink) but the destination is a +directory that contains a directory by the same name as the source while +--recursive mode is in effect. dit(bf(-B , --block-size=BLOCKSIZE)) This controls the block size used in the rsync algorithm. See the technical report for details. -- 2.34.1