cp -r /home/packageA/* /home/cp/packageB/
或者
cp -r /home/packageA/. /home/cp/packageB/
cp -r /home/packageA /home/packageB
rm -rf /home/packageA #-r向下递归,删除所有 #-f强制删除
mv /home/packageA /home/packageB/
或者
mv /home/packageA /home/packageB
mv /home/packageA/* /home/packageB/