<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hogem</author_name>
  <author_url>https://blog.hatena.ne.jp/hogem/</author_url>
  <blog_title>うまいぼうぶろぐ</blog_title>
  <blog_url>https://hogem.hatenablog.com/</blog_url>
  <categories>
    <anon>linux</anon>
  </categories>
  <description>http://d.hatena.ne.jp/hogem/20101115/1289827270 続き tarと組み合わせればファイルだけじゃなくてディレクトリごといけますね。ncの入出力にtar の&quot;-&quot; で標準入出力を使えば良い。 portは適当(ここでは10000) 送信サーバ tar zcvf - ./directory | nc -l 10000 受信サーバ nc 送信サーバ 10000 | tar zxvf - 補足 もちろんcronなどで動かすようにまともなことするならpassphraseなしのssh+rsyncなどをすればいいのですが、一時的にサーバ間でデータを受け渡したいだけっ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhogem.hatenablog.com%2Fentry%2F20120827%2F1346076591&quot; title=&quot;tarとncを使って簡単にディレクトリごと他のサーバに転送 - うまいぼうぶろぐ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-08-27 23:09:51</published>
  <title>tarとncを使って簡単にディレクトリごと他のサーバに転送</title>
  <type>rich</type>
  <url>https://hogem.hatenablog.com/entry/20120827/1346076591</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
