3 ms·
parallel --onall my-command Done! (Assuming you've added the SSH logins to ~/.parallel/sshloginfile) For example, to use them to convert a bunch of images fro
by icebraining 15y ago
parallel --onall my-command
Done! (Assuming you've added the SSH logins to ~/.parallel/sshloginfile)
For example, to use them to convert a bunch of images from PNG to JPG:
find . --name '*.png' | parallel --onall --trc {.}.jpg "convert {} {.}.jpg"
This takes care of sending the PNGs and retrieving the JPGs. Now you just need a few aliases to hide the parallel.
- davidcuddeback 15y agoThank you!