Reputation: 11
I would like to execute some binary files that have the same names and placed in different directories like this:
binary/1/app
binary/2/app
binary/3/app
I want to execute app files at the same time. I have created a bash file in a binary directory and written this command but nothing happened:
find . -name app -type f | parallel -j 4
Thanks.
Upvotes: 1
Views: 151
Reputation: 33685
The command is correct and ought to work. Maybe you are hit by this: GNU parallel not working at all
Upvotes: 0
Reputation: 8969
If you make sh
the command, then your apps can be the option:
parallel sh -- `find . -name app -type f`
Upvotes: 1