Test:find ../../res.bak/item/ -type f -name "*.jpg" |xargs -n1 -i echo {}."abc"
控制台上可看到如下信息:
find ../../res.bak/item/ -type f -name "*.jpg" |xargs -n1 -i cp {} .
参考:
Xargs Command Examples
linux-unix-bsd-xargs-construct-argument-lists-utility