This is probably caused by cp being already aliased to something like cp -i. Calling cp directly should work:

/bin/cp -rf /zzz/zzz/* /xxx/xxx

Another way to get around this is to use the yes command:

yes | cp -rf /zzz/zzz/* /xxx/xxx

本条目发布于[2016年9月26日](https://c4ys.com/archives/699 "08:28")。属于[Linux](https://c4ys.com/archives/category/linux)分类。