I am pleased to work it through rsync rather than having to make my own lashed-together framework.  It should be faster to implement, though I seem to enjoy coding into new territory.  <br>  <br><br><div class="gmail_quote">
On Tue, Dec 27, 2011 at 11:30 AM, Michael Trausch <span dir="ltr">&lt;<a href="mailto:mike@trausch.us">mike@trausch.us</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p>Also, rsync has the ability to preserve hard links, ACLs and xattrs if you use them. My usual command is:</p>
<p>rsync -PavzHAXx (...)</p>
<p>Additionally, I often use --rsync-path=&quot;sudo rsync&quot; to run the remote side as the root user in order to preserve all perms.</p><div class="HOEnZb"><div class="h5">
<div class="gmail_quote">On Dec 27, 2011 10:42 AM, &quot;Brian Mathis&quot; &lt;<a href="mailto:brian.mathis%2Bale@betteradmin.com" target="_blank">brian.mathis+ale@betteradmin.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

As of rsync 2.6 (1 Jan 2004)<br>
    <a href="http://rsync.samba.org/ftp/rsync/src/rsync-2.6.0-NEWS" target="_blank">http://rsync.samba.org/ftp/rsync/src/rsync-2.6.0-NEWS</a><br>
<br>
The man page since then has said (under SETUP):<br>
    For remote transfers, a modern rsync uses ssh for its communications [1]<br>
and the -e section says:<br>
    Typically, rsync is configured to use ssh by default<br>
<br>
-e can come in handy if you want to pass other options to ssh, such as<br>
changing the port or encryption cipher.<br>
<br>
<br>
[1] <a href="http://sunsite.ualberta.ca/Documentation/Misc/rsync-2.6.6/rsync.1.html#lbAF" target="_blank">http://sunsite.ualberta.ca/Documentation/Misc/rsync-2.6.6/rsync.1.html#lbAF</a><br>
<br>
❧ Brian Mathis<br>
<br>
<br>
On Tue, Dec 27, 2011 at 10:15 AM, Jim Kinney &lt;<a href="mailto:jim.kinney@gmail.com" target="_blank">jim.kinney@gmail.com</a>&gt; wrote:<br>
&gt; Hmm. Someone needs to update the rsync man pages to reflect -e default is<br>
&gt; ssh<br>
&gt;<br>
&gt; On Dec 27, 2011 10:12 AM, &quot;Brian Mathis&quot; &lt;<a href="mailto:brian.mathis%2Bale@betteradmin.com" target="_blank">brian.mathis+ale@betteradmin.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt; There&#39;s no need for the -e stuff for a long time now.  Rsync uses ssh<br>
&gt;&gt; by default on all modern versions.  You get the same effect using the<br>
&gt;&gt; simpler form of:<br>
&gt;&gt;<br>
&gt;&gt;    rsync -P file.to.transfer username@remote.host:/path/store/file/<br>
&gt;&gt;<br>
&gt;&gt; ❧ Brian Mathis<br>
&gt;&gt;<br>
&gt;&gt; On Mon, Dec 26, 2011 at 11:44 PM, James Sumners &lt;<a href="mailto:james.sumners@gmail.com" target="_blank">james.sumners@gmail.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt; &gt; XMPP is really not the right tool for this. Rsync is what you want:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; $ rsync -P -e &quot;ssh -l username&quot; file.to.transfer<br>
&gt;&gt; &gt; remote.host:/path/store/file/<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Where &quot;username&quot; is the SSH user you will be using to transfer the file.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Monday, December 26, 2011, Wolf Halton &lt;<a href="mailto:wolf.halton@gmail.com" target="_blank">wolf.halton@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt;&gt; What would be wrong with using xmpp as a transfer protocol for moving<br>
&gt;&gt; &gt;&gt; backups of tarred files? I have used scp for this purpose, but if the<br>
&gt;&gt; &gt;&gt; tunnel<br>
&gt;&gt; &gt;&gt; is broken, the file is corrupted. From what I have been reading, if a<br>
&gt;&gt; &gt;&gt; session drops in xmpp, it picks up where it was dropped and continues.<br>
&gt;&gt; &gt;&gt; I am<br>
&gt;&gt; &gt;&gt; working inside a c-class private subnet.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; <a href="http://sourcefreedom.com" target="_blank">http://sourcefreedom.com</a><br>
<br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</blockquote></div>
</div></div><br>_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>This Apt Has Super Cow Powers - <a href="http://sourcefreedom.com" target="_blank">http://sourcefreedom.com</a><br>Advancing Libraries Together - <a href="http://LYRASIS.org" target="_blank">http://LYRASIS.org</a><br>
<br>