• 查看zip压缩文件的内容而不解压:unzip -l filename.zip

  • 将zip包解压到指定路径(若不指定路径则为当前目录):unzip filename.zip -d /usr/file

  • 压缩文件或目录为zip压缩包:zip -r test.zip file1 file2 dir1

参考:https://www.cnblogs.com/yangsheefee/p/8169174.html

相关文章: