imgフォルダのうち、今日変更されたファイルのみを変換したい場合は
$ find img -name "*.png" -ctime -1 -print0 | sed s/.png$//g | xargs -I file convert file.png file.eps
print0はファイル名にスペースが含まれていた場合の対策みたいです。
sedの$は末尾一致を指します。
ホントはxargsに渡す引数を文字列変換したかったのですが、見つかりませんでした。
参考もと
ls -1 *.tiff | xargs -n1 -P4 -I file convert file file.pdf # Protip: use xargs to run commands in parallel (4 at a time) Thx @mfussenegger
— Command Line Magic (@climagic) 2013, 12月 30