Trailing arguments with find -exec {} +

前端 未结 1 1180
刺人心
刺人心 2021-01-26 03:56

I want to add a trailing argument to the appending version of the-exec option of find.

find . -exec echo {} asd +
# expecting the foll         


        
相关标签:
1条回答
  • 2021-01-26 04:40
    find . -exec sh -c 'echo "$@" asd' _ {} +
    
    0 讨论(0)
提交回复
热议问题