<div dir="ltr">I typically use rsync instead of cp when I can.  There can be issues (and there&#39;s too much below I know):<div><br></div><div>lots of small files can slow things down because of the comparision (checksum, dates, names).  zfs send/receive uses a different method for remote replication that avoids this.</div><div><br></div><div>If you&#39;re on cygwin, there are restrictions (I can&#39;t recall specifics) compared to Unixen.</div><div><br></div><div>Different file systems may act different.</div><div><br></div><div>ACLs are not copied.  Other permissions might not work too (NTFS to FAT and it&#39;ll recopy instead of skip)</div><div><br></div><div>MacOSX HFS files have 2 forks, resource (with icons, etc) and data.  On older versions (panther?), cp would copy both forks.  Rsync would only deal with the data fork.  NTFS has forks IIRC but I think cygwin can deal.  It&#39;s no fun having the user complain all the icons on the MacOS9 desktop are wrong because the move/restore used rsync.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 27, 2017 at 11:55 AM, Tom Buskey <span dir="ltr">&lt;<a href="mailto:tom@buskey.name" target="_blank">tom@buskey.name</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">rsync doesn&#39;t encrypt if there&#39;s no remote, as in this case.<div><br></div><div>To be pedantic, rsync to remotes uses ssh by default but it can use rsh which has no encryption.  Some older versions of SSH allowed you to specify the encryption.  I recall using XOR encryption for faster operation where security was not needed.</div><div><br></div><div>Encryption typically does some compression.  If you compress 2x, you&#39;re doubling the bits through the pipe in the same time.  If the encryption/compression computation at either end is faster than than the uncompressed bandwidth, you&#39;ll have faster throughput.  That&#39;s very typical on newer multicore, high GHz CPUs.<br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Mon, Jun 26, 2017 at 4:11 PM, mark <span dir="ltr">&lt;<a href="mailto:prgrmr@gmail.com" target="_blank">prgrmr@gmail.com</a>&gt;</span> wrote:<br></span><div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Locally, cp is faster because you cannot make rsync not encrypt, but the restart-from-where-it-stopped feature of rsync makes it worth the wait.</p><span class="m_5047592064174019488HOEnZb"><font color="#888888">
<p dir="ltr">Mark</p>
</font></span><div class="gmail_quote"><div><div class="m_5047592064174019488h5">On Jun 26, 2017 3:18 PM, &quot;Charles Farinella&quot; &lt;<a href="mailto:cfarinella@appropriatesolutions.com" target="_blank">cfarinella@appropriatesolutio<wbr>ns.com</a>&gt; wrote:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_5047592064174019488h5"><div dir="ltr">We need to copy a large (200+GB) directory from one filesystem to another, both locally mounted.  <br><div><br></div><div>I&#39;m unsure as to what I should use to do this, cp, rsync, dd?<br><br></div><div>Any suggestions appreciated.<br><br></div><div>Thanks.<br><br></div><div>--charlie<br></div><div><br clear="all"><div><div class="m_5047592064174019488m_-2034162616874911279m_-3178690227620682922gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Charlie Farinella<div>Systems Administrator</div><div>Appropriate Solutions, Inc.</div><div><a href="tel:(603)%20924-6079" value="+16039246079" target="_blank">1-603-924-6079</a></div></div></div></div></div></div></div></div>
</div></div>
<br></div></div><span>______________________________<wbr>_________________<br>
gnhlug-discuss mailing list<br>
<a href="mailto:gnhlug-discuss@mail.gnhlug.org" target="_blank">gnhlug-discuss@mail.gnhlug.org</a><br>
<a href="http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/" rel="noreferrer" target="_blank">http://mail.gnhlug.org/mailman<wbr>/listinfo/gnhlug-discuss/</a><br>
<br></span></blockquote></div>
<br>______________________________<wbr>_________________<br>
gnhlug-discuss mailing list<br>
<a href="mailto:gnhlug-discuss@mail.gnhlug.org" target="_blank">gnhlug-discuss@mail.gnhlug.org</a><br>
<a href="http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/" rel="noreferrer" target="_blank">http://mail.gnhlug.org/mailman<wbr>/listinfo/gnhlug-discuss/</a><br>
<br></blockquote></div></div></div><br></div></div></div>
</blockquote></div><br></div>