Re: --delete option does not always work

2006-09-09 Thread Mario 'BitKoenig' Holbe
On Sat, Sep 09, 2006 at 12:22:57PM -0700, Wayne Davison wrote: > This is a different bug that was recently fixed: using --relative with > a root (/) filesystem and --delete was also failing to delete. The > latest CVS source and recent nightly tar files have this fixed. Here's > the bug (which h

Re: --delete option does not always work

2006-09-09 Thread Wayne Davison
On Sat, Sep 09, 2006 at 09:00:10PM +0200, Mario 'BitKoenig' Holbe wrote: > [EMAIL PROTECTED]:~# rsync -HSaxvn --delete --relative / > /mnt/rsnapshot/daily.0/darkside/root | grep -c ^deleting > 0 This is a different bug that was recently fixed: using --relative with a root (/) filesystem and --de

Re: --delete option does not always work

2006-09-09 Thread Mario 'BitKoenig' Holbe
Hi, Wayne Davison <[EMAIL PROTECTED]> wrote: > OK, I had a free moment to work up a fix, and here it is. It was > pretty simple. I'm sorry to wake this up again, but it seems not to be so simple to fix at all :) I've stumbled over this while noticing that the rsnapshot backup of my root-filesyst

Re: --delete option does not always work

2005-04-27 Thread Wayne Davison
OK, I had a free moment to work up a fix, and here it is. It was pretty simple. ..wayne.. --- flist.c 30 Mar 2005 17:31:35 - 1.291 +++ flist.c 27 Apr 2005 19:14:17 - @@ -655,6 +655,9 @@ static struct file_struct *receive_file_ if (flags & XMIT_TOP_DIR) {

Re: --delete option does not always work

2005-04-27 Thread Wayne Davison
On Wed, Apr 27, 2005 at 12:57:51PM -0400, Lenny wrote: > rsync -a --delete --numeric-ids --relative --delete-excluded -v src/ dest/ The problem is caused by the source dir being "src/" instead of "src" when --relative is specified (this causes a problem internally because the starting directory is