Using GNU Parallel, you can:
parallel mycmd ::: folderName/input*.txt
From: http://git.savannah.gnu.org/cgit/parallel.git/tree/README
= Full installation =
A complete installation of GNU Parallel is simple:
./configure && make && make install
If you are not a root user, you can add ~ / bin to your path and set it to ~ / bin and ~ / share:
./configure --prefix=$HOME && make && make install
Or, if your system lacks βmake,β you can simply copy src / parallel src / sem src / niceload src / sql to a directory in your path.
= Minimum installation =
If you just need a parallel and you donβt have βmakeβ (the system may be outdated or Microsoft Windows):
wget http://git.savannah.gnu.org/cgit/parallel.git/plain/src/parallel chmod 755 parallel cp parallel sem mv parallel sem dir-in-your-$PATH/bin/
Watch the video for a quick introduction: https://www.youtube.com/playlist?list=PL284C9FF2488BC6D1
source share