<br><br><div class="gmail_quote">On Mon, Feb 27, 2012 at 12:34 AM, 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">
<div class="im">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
</div>In your replies I am seeing doubled - signs. I am unsure if that is an<br>
artifact of one of our email clients or if that is what you were<br>
actually using. There should only be one - on those lines. The line<br>
that says "- .*" should exclude any file that starts with a . other<br>
than the specific examples previously listed as "+ .file".<br></blockquote><div><br></div><div>Thanks. That will be the problem because I just copy/ pasted the content of the email as it was.</div><div>I made the single '-' and I'm running it now and Downloads/Iso is copying but none the rubbish that was going before.</div>
<div>I think that this is now solved.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
On 02/26/12 12:31, Robert Parker wrote:<br>
> Oops I'm now getting all the dot files and all the rubbish from<br>
> Downloads. I put the lines you gave me into 'backup_excludes'.<br>
> Should I have used some other file?<br>
><br>
> Bob<br>
><br>
> On Mon, Feb 27, 2012 at 12:17 AM, Robert Parker <<a href="mailto:rlp1938@gmail.com">rlp1938@gmail.com</a><br>
</div><div class="im">> <mailto:<a href="mailto:rlp1938@gmail.com">rlp1938@gmail.com</a>>> wrote:<br>
><br>
> Thanks I'll try that right away. Bob<br>
><br>
><br>
> On Sun, Feb 26, 2012 at 11:04 PM, Kevin Korb <<a href="mailto:kmk@sanitarium.net">kmk@sanitarium.net</a><br>
</div><div class="im">> <mailto:<a href="mailto:kmk@sanitarium.net">kmk@sanitarium.net</a>>> wrote:<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<br>
> and some changes and comments:<br>
><br>
> + .vimrc + .gitconfig + .bash_aliases + .bashrc # Exclude all<br>
</div>> .files except the ones commented above - .* - *~ # Have to include<br>
<div class="im">> this or rsync will never see Playlist + Videos/Music/ +<br>
> Videos/Music/Playlist/ # Can't exclude Videos/ because then rsync<br>
</div>> will never look inside it - Videos/* + Downloads/Iso/ -<br>
> Downloads/* - Dropbox<br>
<div class="im">><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 class="im">> -- Please use reply-all for most replies to avoid omitting the<br>
> mailing list. To unsubscribe or change options:<br>
> <a href="https://lists.samba.org/mailman/listinfo/rsync" target="_blank">https://lists.samba.org/mailman/listinfo/rsync</a> Before posting,<br>
> 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>
><br>
><br>
><br>
><br>
> -- The healthy eating pyramid as published by the USFDA and it's<br>
> satellites all over the world is purposely designed to bring about<br>
> an epidemic of obesity, hypertension and diabetes. It is wildly<br>
> successful in this aim.<br>
><br>
><br>
><br>
><br>
> -- The healthy eating pyramid as published by the USFDA and it's<br>
> satellites all over the world is purposely designed to bring about<br>
> an epidemic of obesity, hypertension and diabetes. It is wildly<br>
> successful in this aim.<br>
<br>
</div><div class="im">- --<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>
</div>iEYEARECAAYFAk9KbRwACgkQVKC1jlbQAQd4SQCg+ToKjHKnXPhLopLsbozdjBW3<br>
pzQAn0XQ9kD6cPGmgjt/uI52M9x7n3S6<br>
=6/BC<br>
-----END PGP SIGNATURE-----<br>
</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>