使用zip命令压缩

进入需要压缩文件的目录后执行

单个文件:zip -e test.zip text.txt

文件夹:文件:zip -er test.zip text

不加密:zip -r test.zip text

执行命令输入两次密码即可,注:保证路径正确。

zip -er reporter.zip reporter
Enter password:

 

相关文章:

  • 2021-09-23
  • 2021-11-13
  • 2021-08-24
  • 2022-02-27
  • 2021-12-30
  • 2021-11-30
  • 2021-10-04
猜你喜欢
  • 2021-07-07
  • 2022-12-23
  • 2022-12-23
  • 2021-10-06
  • 2022-02-28
  • 2021-12-03
相关资源
相似解决方案