<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Think of the rsync line as:<br>
Put the first directory listed INTO the second directory listed.<br>
<br>
So you need to do:<br>
<br>
rsync -aWq /media/bmike1/RedSanDisk/Documents /home/bmike1/<br>
<br>
Brian Cluff<br>
<br>
<div class="moz-cite-prefix">On 01/10/2016 06:07 AM, Michael Havens
wrote:<br>
</div>
<blockquote
cite="mid:CAFRvunJZFm-q_MnFKyOAf8_Bi-0ojHUY9ZQ1FtWU_uZtg4hj4Q@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Hey... how can I rsync just the stuff in a folder.<br>
<br>
<span>rsync -auq --include ~/Documents
/media/bmike1/<tba>/Documents<br>
</span></div>
<span><br>
will create a backup of Documents But when I restore it with:<br>
</span>
<div><br>
bmike1@MikesBeast ~ $ rsync -aWq
/media/bmike1/RedSanDisk/Documents /home/bmike1/Documents/<br>
<br>
</div>
<div>it creates a Documents in the Documents directory. Why did
it do that. What command should I have entered?<br>
</div>
<div class="gmail_extra"><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">---------------------------------------------------
PLUG-discuss mailing list - <a class="moz-txt-link-abbreviated" href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a>
To subscribe, unsubscribe, or to change your mail settings:
<a class="moz-txt-link-freetext" href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a></pre>
</blockquote>
<br>
</body>
</html>