コマンドラインで複数のファイルにパイプして処理する方法
bashで複数のファイルを一度に処理して、しかも1行で実行できます。
$ for file in ./tmp/docomo/*.eml ; do cat "$file" | perl UtaKaeruMail.pl; done
bashで複数のファイルを一度に処理して、しかも1行で実行できます。
$ for file in ./tmp/docomo/*.eml ; do cat "$file" | perl UtaKaeruMail.pl; done