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

--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: --filter, missing in action.

2009-04-23 Thread Teodor MICU
On Thu, 23 Apr 2009 14:02:26 +0200 istrice istr...@autistici.org 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

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 mailing

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 paul+rs...@wurtel.net 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

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