<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>zuntan02</author_name>
  <author_url>https://blog.hatena.ne.jp/zuntan02/</author_url>
  <blog_title>zuntan02のはてなブログ</blog_title>
  <blog_url>https://zuntan02.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>■コマンド ここ3日分のファイルを対象に、階層を保ったままコピー find . -mtime -3 -type f -print0 | xargs -0 cp --parents -p -t 宛先ディレクトリ ■オプションメモ find -print0:-print0オプションを有効にすると区切り文字がスペースから \0 に変更されます xargs -0：-0オプションを指定されると \0 を区切り文字として扱います cp --parents use full source file name under DIRECTORY cp -p = --preserve=mode,ownership,…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzuntan02.hateblo.jp%2Fentry%2F2017%2F04%2F18%2F192923&quot; title=&quot;【Linux】find | xargs cpでヒットするファイルを階層・タイムスタンプを保ったままコピー - zuntan02のはてなブログ&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>2017-04-18 19:29:23</published>
  <title>【Linux】find | xargs cpでヒットするファイルを階層・タイムスタンプを保ったままコピー</title>
  <type>rich</type>
  <url>https://zuntan02.hateblo.jp/entry/2017/04/18/192923</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
