当前位置: 动力学知识库 > 问答 > 编程问答 >

zip - Why can't we gzip more than 1 file using 7zip

问题描述:

Recently I noticed that if I try to compress more than 1 file using 7zip, gzip format is not present in the Archive Format-List. Can anyone explain why?

Can't we have more than 1 file in gzip?

Screenshot

I'm using 7-Zip v9.20. I also tried with v16. But same there/

Thanks in advance

网友答案:

No. You can't have more than one file in the gzip format.

Instead you would use tar followed by gzip. tar converts a set of directories and files into a stream of bytes, which is then compressed by gzip. You have probably already seen these files, with the suffix .tar.gz.

分享给朋友:
您可能感兴趣的文章:
随机阅读: