<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kwbtblog</author_name>
  <author_url>https://blog.hatena.ne.jp/kwbtblog/</author_url>
  <blog_title>新しいことにはウェルカム</blog_title>
  <blog_url>https://www.kwbtblog.com/</blog_url>
  <categories>
    <anon>GNU parallel</anon>
    <anon>Linux</anon>
    <anon>Shell Script</anon>
    <anon>シェルスクリプト</anon>
  </categories>
  <description>ファイル毎に記録されたデータのバッチ処理を、シェルスクリプトで実行したりしています。 ファイルが大量にあった場合、１つのファイルの処理が終わるのを待ってから次のファイルの処理を行うといった、逐次処理をしているととても時間がかかることがありました。 何かいい方法はないかなぁと調べていたら「GNU parallel」という、シェルスクリプトでコマンドを並列実行できるものがあったので、今はそれを使っています。 インストール パッケージで配布されているのでインストール $ sudo apt-get parallel 使い方 色々な書き方ができるのですが、一番汎用的な引数一覧をパイプで渡す書き方を紹介し…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.kwbtblog.com%2Fentry%2F2019%2F01%2F12%2F020423&quot; title=&quot;シェルスクリプトでコマンドを並列実行する方法 - 新しいことにはウェルカム&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>https://cdn-ak.f.st-hatena.com/images/fotolife/k/kwbtblog/20190112/20190112015324.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-01-12 02:04:23</published>
  <title>シェルスクリプトでコマンドを並列実行する方法</title>
  <type>rich</type>
  <url>https://www.kwbtblog.com/entry/2019/01/12/020423</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
