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?

Matt

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to