1

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.

4

2 回答 2

1

如果您发出sh命令,那么您的应用程序可以是选项:

parallel sh -- `find . -name app -type f`
于 2013-06-30T06:20:53.863 回答
0

该命令是正确的,应该可以工作。也许你被这个打击了: GNU parallel not working at all

于 2013-06-30T20:24:16.670 回答