Re: purge-empty-dirs and max-file-size confusion

2009-04-23 Thread Ian! D. Allen
> >  $ rsync -ai --min-size 10M --prune-empty-dirs /home/idallen/test /tmp/foo > Have you tried --no-dirs? Why should I need it? I've explicitly told the receiving side "don't create empty directories" and that should be sufficient. I shouldn't need any other options. (In any case, I just tried

Excluded directories at rsync (was "--filter, missing in action")

2009-04-23 Thread Teodor MICU
On Thu, 23 Apr 2009 17:32:37 +0200 Paul Slootman wrote: > --delete-excluded will screw this up. Yes, this is why I don't use it. This is probably a bug because the excluded directories with "- DIR/**" will became empty on all receivers (SLAVE hosts). But with just "--delete" the excluded director

Re: --filter, missing in action.

2009-04-23 Thread Paul Slootman
On Thu 23 Apr 2009, Teodor MICU wrote: > Until now I've done this by adding "- foo/" on the exclude file. With this > line rsync will not touch any "foo/" directory on the receiver. --delete-excluded will screw this up. Paul -- Please use reply-all for most replies to avoid omitting the mailin

Re: --filter, missing in action.

2009-04-23 Thread Teodor MICU
On Thu, 23 Apr 2009 14:02:26 +0200 istrice wrote: > I must be seriously misunderstanding the man page coverage of --filter. > If I have a dir 'foo/' in the reciver with content 'bar' that I must > keep and a 'foo/' on the sender side empty what could possibly be the > best way to get the job done?

--filter, missing in action.

2009-04-23 Thread istrice
I must be seriously misunderstanding the man page coverage of --filter. If I have a dir 'foo/' in the reciver with content 'bar' that I must keep and a 'foo/' on the sender side empty what could possibly be the best way to get the job done? Till now the filter option gone ignored.. Not to mention

Re: purge-empty-dirs and max-file-size confusion

2009-04-23 Thread Felipe Alvarez
> From: "Ian! D. Allen" > To: rs...@lists.samba.org > Date: Wed, 22 Apr 2009 02:20:37 -0400 > Subject: purge-empty-dirs and max-file-size confusion > I want to use --min-size to copy just large files (and their necessary > parent directories), but everything I've tried copies *all* the source > di

Re: Any program flow or software spec for Rsync

2009-04-23 Thread Daniel.Li
Is there any protocol standard or specs that I can get? Draft is also fine. Thanks. On Tue, 2009-04-21 at 14:47 +0800, Daniel.Li wrote: > Dear All, > I'm trying to take a look at rsync from code-level. > Is there any software spec or program flow that I can get, which might > give me a basic unde