Re:Bash as a Service
by swah on Tuesday March 13, 2012 @04:43PM
(#3700333)
I understood it as "run a this command in an implementation that is parallelized and runs in 1000's of machines but has the same interface.
[ Parent
| on HN ]
Re:Bash as a Service
by icebraining on Tuesday March 13, 2012 @05:01PM
(#3700417)
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.
Re:Bash as a Service
by davidcuddeback on Tuesday March 13, 2012 @06:30PM
(#3700676)
Thank you!