Make xargs execute the command once for each line of input

后端 未结 13 682
栀梦
栀梦 2020-11-29 15:09

How can I make xargs execute the command exactly once for each line of input given? It\'s default behavior is to chunk the lines and execute the command once, passing multip

13条回答
  •  醉话见心
    2020-11-29 15:19

    execute ant task clean-all on every build.xml on current or sub-folder.

    find . -name 'build.xml' -exec ant -f {} clean-all \;
    

提交回复
热议问题