xargsで実行するコマンドの任意の位置に標準入力から差し込む

find . -path '*.properties' | xargs -i cp {} ./copy
  • iオプションをつけると"{}"で指定した場所が置換される。