使用:

find * -name *.rpm |xargs cp  /opt 

报错信息:

cp: target ‘extras/packages/python.rpm’ is not a directory

解决方案:

find * -name *.rpm |cp `xargs` /opt