-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hmmm, according to my interpretation of the man page (I am on 3.1.1) that is supposed to work however when I test using the "-/ /etc/passwd" example the / seems to have the same effect as commenting the line. I get /etc/passwd copied whether the source is / or /etc.
Am I completely misunderstanding what the man page is telling me this syntax does? On 04/13/2015 12:44 PM, Harry Putnam wrote: > Kevin Korb <[email protected]> writes: > >> -/ /var/apache2/* > > Thanks for the input, but unless I'm doing something else screwy, > that does not appear to work here. > > I put your line verbatim into my exlcude file (near the top) > > /pkg/* /sadm/* /cache/* /opt/csw/cache/* -/ /var/apache2/* /tmp/* > ------- ------- ---=--- ------- ------- > > My actual task here is an rsnapshot run that collects files > > Here /var/ and here /etc/ (a few other places as well as > well) > > But as you probably know its really a pair of rsync runs that > occur. > > To reiterate, my goal was to collect files at `/etc/apache2/' but > not at `/var/apache2' > > (These are just typical of what I want to do in several places.) > > > Adding that line verbatim did not have the effect I'm after. > - -- ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ Kevin Korb Phone: (407) 252-6853 Systems Administrator Internet: FutureQuest, Inc. [email protected] (work) Orlando, Florida [email protected] (personal) Web page: http://www.sanitarium.net/ PGP public key available on web site. ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlUr9dsACgkQVKC1jlbQAQcnmgCfX6AgAv6b9aASd8BuFEQFXgwA 3oIAn0dETXuHLQIFSMTgooBSjKAeHPAT =pBTl -----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
