Problem with --backup and deleting a directory: Two directories created

Wayne Davison wayned at samba.org
Wed Nov 17 17:13:22 GMT 2004


On Mon, Nov 15, 2004 at 03:20:46PM +0100, Johannes Kastl wrote:
> But there is also a directory delete-this-2004-11-15... , 
> but it is empty, and no files are copied/moved there afterwards.

The erroneous creation of an empty directory was fixed recently in the
CVS version of rsync.  You can incorporate this fix into a stock 2.6.3,
if you like -- just check out the diff of what changed in version 1.108
of receiver.c, which you can browse on the web:

    http://cvs.samba.org/cgi-bin/cvsweb/rsync/receiver.c

Note that rsync does not apply the --suffix value to directory names in
the backup area.

..wayne..


More information about the rsync mailing list