Xargs 字符串插值,而不是通过插入空格

Jes*_*ose 6 linux xargs

我想重复

touch ../template/filename
Run Code Online (Sandbox Code Playgroud)

filename来自哪里find。我想xargs应用该touch操作,但我不希望它像通常那样插入一个空格,它派生为:

touch ../template/ filename
Run Code Online (Sandbox Code Playgroud)

这是我不完整的命令。我如何完成它?

find *.html | xargs touch ../template/WHAT-NOW
Run Code Online (Sandbox Code Playgroud)

use*_*686 12

find -name "*.html" | xargs -d"\n" -I"{}" touch ../template/{}

find -name "*.html" -exec touch ../template/{} \;
Run Code Online (Sandbox Code Playgroud)

请注意这find *.html是错误的,因为通配符命令执行之前被扩展。