<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>harumomo2006</author_name>
  <author_url>https://blog.hatena.ne.jp/harumomo2006/</author_url>
  <blog_title>謎のIT企業で働くプログラマのにっき</blog_title>
  <blog_url>https://harumomo2006.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>どんどん自動作成されていくようなファイルで、あまりに古いファイルは別の場所でアーカイブしたい。というわけで find と mtime を使って別ディレクトリに移動させてしまおう。 cd /home/hoge/log/ find -mtime +1000 | xargs mv --target-directory=/home/hoge/log2/ ググってみると -exec というものがよく出てきたけど、これなぜかエラーで動かなかった。find の直後にディレクトリを指定しても動かなかった。メモ mtime +100 は100日以上前に更新されたファイル mtime -100 は100日以内に更…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fharumomo2006.hatenadiary.org%2Fentry%2F20070621&quot; title=&quot;古いファイルの移動 - 謎のIT企業で働くプログラマのにっき&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>2007-06-21 00:00:00</published>
  <title>古いファイルの移動</title>
  <type>rich</type>
  <url>https://harumomo2006.hatenadiary.org/entry/20070621</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
