Exclude
Tomasz Ciolek
tmc at goldweb.com.au
Fri Oct 19 13:41:29 EST 2001
Read the doco oon the eclude/indlude files/ Eclude file takes - and + before the name so that you can build a unified exclude-include list in a single exclude file.
Regards
TMC
On Thu, Oct 18, 2001 at 06:52:29PM -0500, Chao,Eisen R. wrote:
> Hi Folks,
>
> I'm running rsync between an NT client and a Solaris 7 Server (Ver 2.4.6).
>
> I'd like to be able to exclude the following directory:
>
> /opt/IBMHTTPDLOG/archivelogs
>
> but retrieve
>
> /opt/IBMHTTPDLOG
>
> My setup is:
>
> rsync -av -p -e rsync at server1.cna.com:/opt/IBMHTTPDLOG/
> F:/opt/IBMHTTDLOG
> (client)
>
> rsync --daemon --exclude-from=/etc/rsync.exclude
> (server)
>
>
> What I get is *everything* including the contents of the dir ./archivelogs.
> What is the proper syntax ? I've tried setting up my entry in rsync.exclude
> as:
>
> '/opt/IBMHTTPDLOG/archivelogs'
> archivelogs/
> 'archivelogs/'
> ./archivelogs
> ./archivelogs/
>
> I've also tried setting the server-side rsync daemon as --exclude
> <blah-blah> to no avail.
>
> Thanks in advance,
>
> Eisen Chao
> CNA Insurance
>
>
--
Tomasz M. Ciolek *
* Everything falls under the law of change;
<tmc at dreamcraft.com.au> * Like a dream, a phantom, a bubble, a shadow,
<tmc at goldweb.com.au> * like dew of flash of lightning.
* You should contemplate like this.
*******************************************************************************
GPG Key ID: 0x7A18E49D * Available on www.pgp.net
*******************************************************************************
More information about the rsync
mailing list