exclude everything and include directories

Don Shesnicky dshesnicky at enqsemi.com
Sun Feb 29 13:49:07 GMT 2004



Mindsets and assumptions are funny things.  Until the light bulb went
off while reading the man page, I assumed that with a module such as:

[CADENCE]
path = /tools/cadence

that you would have to use excludes and includes to further modify
what was rsync'ed. I didn't think something like

host::CADENCE/spr50

could be used to just pull subdirectories.

Thanks for the replies.

Don

> Anyone? Even a yea or nea at this point would be appreciated.
>
> Don
>
> -----
>
> I'm trying to update some laptops from a large server directory for an
> EDA app.
>
> Most of the time I just rsync the entire directory and exclude the odd
> item. In this case it's the reverse where I want to exclude everything
> but include  only the odd directory. I thought it'd be easy but can't 
> seem
> to get the exclude then include options correct. It seems that when you
> exclude everything you then need to include file by file. Can anyone
> point me in the right direction?
>
> Don
>
>



More information about the rsync mailing list