<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>daybreaksnow</author_name>
  <author_url>https://blog.hatena.ne.jp/daybreaksnow/</author_url>
  <blog_title>daybreaksnow's diary</blog_title>
  <blog_url>https://daybreaksnow.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>以下のようにtarの第二引数に絶対パスを指定すると、以下のメッセージが表示される。 tar cvzf /home/hoge/files.tar.gz /home/hoge/files tar: メンバ名から先頭の `/' を取り除きます 上記のfile.tar.gzを展開すると、home/hoge/filesというディレクトリ構造まで復元されてしまう。files以下のみが展開されるようにするには、以下のように-Cを使う。 tar cvzf /home/hoge/files.tar.gz -C /home/hoge files Cオプションをつけることにより、そのパスからの相対指定ができる。これ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdaybreaksnow.hatenablog.jp%2Fentry%2F2014%2F03%2F01%2F204940&quot; title=&quot;［Linux］tarで圧縮元に絶対パスを指定する時、指定のディレクトリのみを圧縮する - daybreaksnow&amp;#39;s diary&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>2014-03-01 20:49:40</published>
  <title>［Linux］tarで圧縮元に絶対パスを指定する時、指定のディレクトリのみを圧縮する</title>
  <type>rich</type>
  <url>https://daybreaksnow.hatenablog.jp/entry/2014/03/01/204940</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
