<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>iww</author_name>
  <author_url>https://blog.hatena.ne.jp/iww/</author_url>
  <blog_title>揮発性のメモ２</blog_title>
  <blog_url>https://iww.hateblo.jp/</blog_url>
  <categories>
    <anon>Linux</anon>
  </categories>
  <description>大量のファイルをコピーしてるとき、今何個コピーしたとか何秒経ったかを表示する。あらかじめファイルの数を数えておき、何個中何個コピーしたかを毎秒表示する。 あと経過時間もついでに表示する。 time cp -ax -v /mnt/ test/ | perl -nE 'BEGIN{$|=1; $z=`find /mnt/ -xdev|wc -l`; chop $z; $s=time()} $c++; $t=time(); if($t!=$o){print &quot; $c/$z (&quot;,$t-$s,&quot; sec.)\r&quot;; $o=$t; END{print &quot; $c/$z\n&quot;}}' BEGIN{ $|=1;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fiww.hateblo.jp%2Fentry%2F20190726%2Fprogress&quot; title=&quot; cp -ax の進捗を見る - 揮発性のメモ２&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>2019-07-26 09:03:00</published>
  <title> cp -ax の進捗を見る</title>
  <type>rich</type>
  <url>https://iww.hateblo.jp/entry/20190726/progress</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
