echo ./oscar1 ./oscar2 ./oscar3|xargs -n 1 cp ./oscar1/abc.txt
如果提示如下
cp: ./oscar1/abc.txt and ./oscar1/abc.txt are identical
是因为:
The problem is that you try to copy a file to itself. You can avoid it by excluding the destination directory from the results of the find command like this: