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 get the job done?

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.

I don't see yet the advantage of using "--filter" over "--exclude" but I
hope someone can give a practical example.

Thanks
-- 
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