One - One Code All

Blog Content

unzip直接覆盖解压

Linux-Mac 运维   2010-10-16 09:33:40

unzip解压时,有时候需要直接覆盖以解压的文件,特别是在自动化脚本中安装部署的时候,特别需要注意。

##在unzip命令后,增加 -o的参数,则不再进行询问,直接覆盖原文件解压缩,节省了很多事儿。

unzip -o file_name.zip



上一篇:pandas判断dataframe为空
下一篇:python -m与python执行文件

The minute you think of giving up, think of the reason why you held on so long.