simple incremental backup woes. solutions?

Matt McCutchen matt at
Fri Sep 5 15:05:52 GMT 2008

On Fri, 2008-09-05 at 13:15 +0200, The Peach wrote:
> On Thu, 04 Sep 2008 22:48:28 +0000
> Matt wrote:
> > It's not clear to me what the problem is, since the "cannot delete a
> > non-empty dir" message is pretty harmless.  Do you want the directories
> > to be renamed?  If so, should the individual files inside be renamed
> > too?  
> The situation with my rsync config, as stated in my first post, is this:
> 1) In the source I've got a directory with several files inside it.
> 2) When first executed, rsync copies everything correctly.
> 3) On the source, I delete the directory.
> 4) On next execution, rsync renames all the files inside the directory
> as I told it to do so. But the directory will not be renamed like it
> did with the files. Instead rsync tries to delete the directory
> finishing with an obvious warning of "cannot delete non-empty
> directory".
> is it clear?

I understand what rsync is doing now.  My question which you haven't
answered is, what exactly do you *want* rsync to do?  Do you want it to
just add the suffix to deleted destination directories, or to both the
directories and the files inside, or what?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url :

More information about the rsync mailing list