<p dir="ltr">My syncs look like this </p>
<p dir="ltr">Rsync -rauh  --delete  /frompath/fromdir   /topath/todir</p>
<p dir="ltr">This copies the fromdir into the todir directory and copies all files and directories below fromdir</p>
<p dir="ltr">-r   recursive<br>
-a  archive - which is synonymous to -rlptgoD<br>
-u  update :don't over write newer files<br>
-W  copy whole files (don't do delta)<br>
-h  human readable numbers</p>
<p dir="ltr">This backs up my stuff to an external drive, thus I don't need to do a delta or compression because it is all local<br>
--delete  Any files that were removed from the source will be removed from the destination </p>
<p dir="ltr">If I were copying across a network, I add -z  and remove -W<br>
Which will compress the transfer and only send changes when possible.</p>
<p dir="ltr">Normally I use --quiet and change it to --verbose or --progress when I want to monitor it</p>
<div class="gmail_quote">On May 9, 2016 4:05 PM, "Michael" <<a href="mailto:bmike1@gmail.com">bmike1@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><span><font size="4" face="verdana, sans-serif"><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">When I run rsync one file (a directory) will not sync and the files in that file. I was wondering why.  I thought that maybe if the file was in there to start that would fix it and it does so if only temporarily. Upon the next run of rsync the directory in question is deleted.</span></p>the command that is run:</font></span></div><div><span><font size="4" face="verdana, sans-serif"><div> $ rsync -aWuq --delete-before /home/bmike1/Documents /media/bmike1/RedSanDisk</div><div><br></div></font></span></div><div><font size="4" face="verdana, sans-serif"><br></font></div><font size="4" face="verdana, sans-serif"><a href="https://docs.google.com/document/d/1FAfv-aLaQR6HWUx8M-aZF4QL8oAsi6SH2Xg01vKpTPI/edit?usp=sharing" target="_blank">https://docs.google.com/document/d/1FAfv-aLaQR6HWUx8M-aZF4QL8oAsi6SH2Xg01vKpTPI/edit?usp=sharing</a><br clear="all"></font><div><font size="4" face="verdana, sans-serif"><br></font></div><font size="4" face="verdana, sans-serif">-- <br></font><div><div dir="ltr"><div><div dir="ltr"><div><font size="4" face="verdana, sans-serif">:-)~MIKE~(-:</font><br></div></div></div></div></div>
</div>
<br>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br></blockquote></div>