Hi,

> How can I include only home/scp/conf* and exclude everything else from
> home/scp?
 
> I was hoping something like this would work:
 
>       +home/scp/conf*
>       -home/scp
> Or:
>       +home/scp/conf*
>       -home/scp/*

The second one is correct.

..

> PS For the sake of brevity I've put all the examples together though
> I keep them in separate include and exclude files and use
> include-from=include and exclude-from=exclude.  I am assuming this
> will not effect the results.

It shouldn't but you have to call rsync with the include-from argument 
*before* the exclude-from one.

[EMAIL PROTECTED], Tel: (33)04 92 38 79 11
INRIA Sophia, 2004, rte des Lucioles, B.P.93 - 06902 Sophia Antipolis Cedex

Reply via email to