<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>Autarchy of the Private Cave &#187; rsync</title> <atom:link href="https://bogdan.org.ua/tags/rsync/feed" rel="self" type="application/rss+xml" /><link>https://bogdan.org.ua</link> <description>Tiny bits of bioinformatics, [web-]programming etc</description> <lastBuildDate>Wed, 28 Dec 2022 16:09:04 +0000</lastBuildDate> <language>en-US</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>https://wordpress.org/?v=3.8.27</generator> <item><title>Resume broken scp/mc/fish transfer with rsync</title><link>https://bogdan.org.ua/2013/10/17/resume-broken-scpmcfish-transfer-with-rsync.html</link> <comments>https://bogdan.org.ua/2013/10/17/resume-broken-scpmcfish-transfer-with-rsync.html#comments</comments> <pubDate>Thu, 17 Oct 2013 20:24:32 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[Notepad]]></category> <category><![CDATA[fish]]></category> <category><![CDATA[mc]]></category> <category><![CDATA[resume]]></category> <category><![CDATA[rsync]]></category> <category><![CDATA[scp]]></category> <category><![CDATA[transfer]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=1229</guid> <description><![CDATA[Note: this is a draft post back from 2010. As it is still useful to me, I&#8217;ve decided to publish it as is. I had already mused on the powers of rsync before. This time, a reminder to self on how to resume copying broken scp/mc/fish transfers, using rsync. First, an assortment of example commands. [&#8230;]]]></description> <content:encoded><![CDATA[<p><em>Note: this is a draft post back from 2010. As it is still useful to me, I&#8217;ve decided to publish it <strong>as is</strong>.</em></p><p>I had already mused on the <a
href="http://bogdan.org.ua/2009/07/06/harness-the-power-of-rsync.html">powers of rsync</a> before.</p><p>This time, a reminder to self on how to resume copying broken scp/mc/fish transfers, using rsync.</p><p>First, an assortment of example commands.<br
/> <code>export RSYNC_RSH=ssh</code><br
/> <code>rsync --partial file_to_transfer user@remotehost:/path/remote_file</code><br
/> <code>rsync -av --partial --progress --inplace SRC DST</code><br
/> <code>rsync --partial --progress --rsh=ssh host:/work/source.tar.bz2 .</code><br
/> <code>rsync --partial --progress --rsh=ssh -r me@host.com:/datafiles/ ./</code></p><p>One could also try the <code>--append</code> option of rsync to base the transfer resumption on the sizes of the two files rather than verifying that their contents match.</p><p>Now a single command line explained in a little more details:<br
/> <code>rsync -vrPtz -e ssh host:/remote_path/* /local_path/</code><br
/> Explained:<br
/> <code>-e ssh</code> rsync will use ssh client instead of rsh, which makes data exchange encrypted<br
/> -z compress file transfer<br
/> -t preserve time (other attributes, such as owner and permissions are also possible)<br
/> -P resume incomplete file transfer<br
/> -r recurse into subdirectories<br
/> -v verbose</p><p>To specify a port when using ssh you must add it to the ssh command.<br
/> Example: <code>rsync --partial --progress --rsh="ssh -p 16703" user@host:path</code></p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2013%2F10%2F17%2Fresume-broken-scpmcfish-transfer-with-rsync.html&amp;linkname=Resume%20broken%20scp%2Fmc%2Ffish%20transfer%20with%20rsync" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2013%2F10%2F17%2Fresume-broken-scpmcfish-transfer-with-rsync.html&amp;linkname=Resume%20broken%20scp%2Fmc%2Ffish%20transfer%20with%20rsync" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2013%2F10%2F17%2Fresume-broken-scpmcfish-transfer-with-rsync.html&amp;linkname=Resume%20broken%20scp%2Fmc%2Ffish%20transfer%20with%20rsync" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2013%2F10%2F17%2Fresume-broken-scpmcfish-transfer-with-rsync.html&amp;linkname=Resume%20broken%20scp%2Fmc%2Ffish%20transfer%20with%20rsync" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2013%2F10%2F17%2Fresume-broken-scpmcfish-transfer-with-rsync.html&amp;linkname=Resume%20broken%20scp%2Fmc%2Ffish%20transfer%20with%20rsync" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2013%2F10%2F17%2Fresume-broken-scpmcfish-transfer-with-rsync.html&#038;title=Resume%20broken%20scp%2Fmc%2Ffish%20transfer%20with%20rsync" data-a2a-url="https://bogdan.org.ua/2013/10/17/resume-broken-scpmcfish-transfer-with-rsync.html" data-a2a-title="Resume broken scp/mc/fish transfer with rsync"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2013/10/17/resume-broken-scpmcfish-transfer-with-rsync.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Harness the power of rsync</title><link>https://bogdan.org.ua/2009/07/06/harness-the-power-of-rsync.html</link> <comments>https://bogdan.org.ua/2009/07/06/harness-the-power-of-rsync.html#comments</comments> <pubDate>Mon, 06 Jul 2009 20:59:36 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[man]]></category> <category><![CDATA[rsync]]></category> <category><![CDATA[super-cow]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=804</guid> <description><![CDATA[I have read manpages of rsync today. I feel enlightened. I had a dream of rsync being one of the legendary nix Super-Cows. A tiny perversive part of self created a PDF version of rsync manpages (43 pages). It seems that Super-Cows can damage the brain, when stared at too intensely.]]></description> <content:encoded><![CDATA[<p>I have read manpages of rsync today.<br
/> I feel enlightened.</p><p>I had a dream of rsync being one of the legendary nix Super-Cows.</p><p>A tiny perversive part of self created a <a
href='http://bogdan.org.ua/wp-content/uploads/2009/07/rsync.pdf'>PDF version of rsync manpages</a> (43 pages).</p><p>It seems that Super-Cows can damage the brain, when stared at too intensely.</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F06%2Fharness-the-power-of-rsync.html&amp;linkname=Harness%20the%20power%20of%20rsync" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F06%2Fharness-the-power-of-rsync.html&amp;linkname=Harness%20the%20power%20of%20rsync" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F06%2Fharness-the-power-of-rsync.html&amp;linkname=Harness%20the%20power%20of%20rsync" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F06%2Fharness-the-power-of-rsync.html&amp;linkname=Harness%20the%20power%20of%20rsync" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F06%2Fharness-the-power-of-rsync.html&amp;linkname=Harness%20the%20power%20of%20rsync" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2009%2F07%2F06%2Fharness-the-power-of-rsync.html&#038;title=Harness%20the%20power%20of%20rsync" data-a2a-url="https://bogdan.org.ua/2009/07/06/harness-the-power-of-rsync.html" data-a2a-title="Harness the power of rsync"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2009/07/06/harness-the-power-of-rsync.html/feed</wfw:commentRss> <slash:comments>4</slash:comments> </item> </channel> </rss>