Thanks I'll try that right away.<div>Bob<br><br><div class="gmail_quote">On Sun, Feb 26, 2012 at 11:04 PM, Kevin Korb <span dir="ltr"><<a href="mailto:kmk@sanitarium.net">kmk@sanitarium.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Things get much easier if you only use one file and use the +/-<br>
syntax.  Here is a quick rewrite of your file using that syntax and<br>
some changes and comments:<br>
<br>
+ .vimrc<br>
+ .gitconfig<br>
+ .bash_aliases<br>
+ .bashrc<br>
# Exclude all .files except the ones commented above<br>
- - .*<br>
- - *~<br>
# Have to include this or rsync will never see Playlist<br>
+ Videos/Music/<br>
+ Videos/Music/Playlist/<br>
# Can't exclude Videos/ because then rsync will never look inside it<br>
- - Videos/*<br>
+ Downloads/Iso/<br>
- - Downloads/*<br>
- - Dropbox<br>
<div><div class="h5"><br>
On 02/26/12 09:54, Robert Parker wrote:<br>
> Hi Folks,<br>
><br>
> I can't get the syntax of --include-from right, nothing at all<br>
> gets transferred.<br>
><br>
> The rsync command: # do the backup nice -n 15 rsync -av \<br>
> --include-from="/home/bob/backup_includes" \<br>
> --exclude-from="/home/bob/backup_excludes" \ $fromdir $todir<br>
><br>
> The excludes file: .* *~ Videos/ Downloads/ Dropbox/<br>
><br>
> The includes file: .vimrc .gitconfig .bash_aliases .bashrc<br>
> Videos/Music/Playlist/ Videos/Music/Originals/ Downloads/Iso/<br>
><br>
> I've spent hours on the man page getting nowhere.<br>
><br>
> Thanks Bob<br>
><br>
><br>
><br>
><br>
><br>
<br>
</div></div>- --<br>
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~<br>
        Kevin Korb                      Phone:    (407) 252-6853<br>
        Systems Administrator           Internet:<br>
        FutureQuest, Inc.               Kevin@FutureQuest.net  (work)<br>
        Orlando, Florida                <a href="mailto:kmk@sanitarium.net">kmk@sanitarium.net</a> (personal)<br>
        Web page:                       <a href="http://www.sanitarium.net/" target="_blank">http://www.sanitarium.net/</a><br>
        PGP public key available on web site.<br>
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2.0.17 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org/" target="_blank">http://enigmail.mozdev.org/</a><br>
<br>
iEYEARECAAYFAk9KWBAACgkQVKC1jlbQAQfHggCeL0dRbjClnOakbMIeLTjH/SIr<br>
ZLgAoOiB3NTq73rVTYbvtVzSAdCapxqG<br>
=/uH4<br>
-----END PGP SIGNATURE-----<br>
<span class="HOEnZb"><font color="#888888">--<br>
Please use reply-all for most replies to avoid omitting the mailing list.<br>
To unsubscribe or change options: <a href="https://lists.samba.org/mailman/listinfo/rsync" target="_blank">https://lists.samba.org/mailman/listinfo/rsync</a><br>
Before posting, read: <a href="http://www.catb.org/~esr/faqs/smart-questions.html" target="_blank">http://www.catb.org/~esr/faqs/smart-questions.html</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>The healthy eating pyramid as published by the USFDA and it's satellites all over the world is purposely designed to bring about an epidemic of obesity, hypertension and diabetes. It is wildly successful in this aim.<br>

</div>