Improved the docs.
authorWayne Davison <wayned@samba.org>
Tue, 15 Feb 2005 19:36:43 +0000 (19:36 +0000)
committerWayne Davison <wayned@samba.org>
Tue, 15 Feb 2005 19:36:43 +0000 (19:36 +0000)
remove-sent-files.diff

index baf1eab..6fb39c3 100644 (file)
@@ -225,8 +225,8 @@ command before "make":
  
 +dit(bf(--delete-sent-files)) This tells rsync to remove the source files
 +on the sending side that are successfully transferred to the receiving
-+side.  Directories are not removed, nor are files that are identical on
-+both systems.
++side.  Directories, symlinks, and devices are not removed, nor are files
++that were not transferred from the sender to the receiver.
 +
  dit(bf(--ignore-errors)) Tells bf(--delete) to go ahead and delete files
  even when there are I/O errors.
@@ -265,7 +265,7 @@ command before "make":
 +      } else
 +              offset = 0;
 +      f_name_to(file, fname + offset);
-+      if (delete_sent_files && do_unlink(fname) == 0 && verbose > 0)
++      if (delete_sent_files && do_unlink(fname) == 0 && verbose)
 +              rprintf(FINFO, "sender removed %s\n", fname + offset);
 +}