shell 脚本 做升级包有时候更新失败需要把句子由:cp -rf db /bin/db 修改为 \cp -rf -a db /bin/db 这样写的好处:不需要按y就可以复制成功。且文件的属性都传输过去了