压缩文件(夹)

# 压缩列举的文件,格式如下:

zip 压缩包名称 文件1 文件2 文件3 ...

# 压缩test.txt, a.out文件,并取名为abc.zip

$ zip abc.zip test.txt a.out

 

#压缩一个文件夹

# 压缩一个文件夹,格式如下:

zip -r 压缩包名称 文件夹1 文件夹2 ...

 

 

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
  • 2021-11-09
  • 2022-12-23
猜你喜欢
  • 2021-11-17
  • 2022-12-23
  • 2022-12-23
  • 2022-01-22
  • 2021-06-20
  • 2021-11-27
  • 2022-12-23
相关资源
相似解决方案