On Fri, Sep 16, 2011 at 11:40 PM, Kevin Korb <[email protected]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Also, includes only override excludes (which I see you are doing) but
> they must be specified BEFORE the exclude they override.  IOW, your
> include of .vimrc must be before your exclude of .* or it will not do
> anything.

Thanks Kevin,

It's all good now as per my reply to Steven.

Bob Parker

>
> On 09/16/11 11:47, Steven Levine wrote:
>> In <CAAykW6mMRiTVqt0KrrcgYiwNvz7kjHNQC76=rJc+c=+qpg3...@mail.gmail.com>,
>> on 09/16/11
>>    at 07:34 PM, Robert Parker <[email protected]> said:
>>
>> HI Robert,
>>
>>> nice -n 15 rsync -avl --exclude=".*" \
>>> --include-from="/home/bob/backup_includes" \
>>> "$fromdir" "$todir"
>>
>>> Here is the content of /home/bob/backup_includes
>>
>>> /home/bob/.vimrc
>>> /home/bob/.gitconfig
>>
>> The paths in your --include-from file must be relative to $fromdir.
>>
>> In general, this is true of all paths other than paths specified on the
>> command line.
>>
>> The paths on the command line effectively create logic roots and the other
>> paths will be relative to these paths.
>>
>> Steven
>>
>
> - --
> ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
>        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.0.17 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk5zfBgACgkQVKC1jlbQAQdcIwCfZKIJk9pixLywS91plqveWy/X
> lQMAnR3klzsRwX26esWe8YfEuzLGp+gH
> =OeR3
> -----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
>



-- 
Broaden your kids education! Send them to Christian Schools so they
can include the experience of being raped in their education.
-- 
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