-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Put this line in your file:
- -/ /var/apache2/*

On 04/13/2015 12:17 PM, Harry Putnam wrote:
> 
> with these rsync  rsync [...] /var/ /dir/ rsync [...] /etc/ /dir2/
> 
> And exclude file: excl
> 
> /apache2/*
> 
> That will exclude both /var/apache2/* and
> /etc/apache2/*
> 
> How can I tell rsync I want /var/apache2 excluded, but not
> /etc/apache2? I mean short of using separate excl files for each
> run Using something like the start of an absolute name: 
> `/etc/apache2/*'
> 
> Allows both /etc/apache2 and         /var/apache2  to be collected
> 
> 

- -- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
        Kevin Korb                      Phone:    (407) 252-6853
        Systems Administrator           Internet:
        FutureQuest, Inc.               ke...@futurequest.net  (work)
        Orlando, Florida                k...@sanitarium.net (personal)
        Web page:                       http://www.sanitarium.net/
        PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlUr7TMACgkQVKC1jlbQAQfc3gCgk+Yq/KzfOmSbQ4X4q+hox4Xt
1ukAni90msBK1WxGBxLv/aQuIIcR2K58
=RgrB
-----END PGP SIGNATURE-----
-- 
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