Every day I have to update a bunch of repositories and also execute in some of them another command (from CARTON, Perl module dependency manager). I use always a loop to do that but I want do it parallely with GNU parallel if it is possible but I don't understand so well its tutorial.
The point more similar I've read that can help me is called "Running the same commands on all hosts" so I got into the directory with all repos and I tried to execute: parallel --onall carton
but I don't know if it works or not. Anyone can help me?
parallel 'cd {} && git pull' ::: *
parallel 'cd {} && carbon' ::: *
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With