How to specify level of compression when using tar
https://superuser.com/questions/305128/how-to-specify-level-of-compression-when-using-tar-zcvf
$ tar cv /path/to/directory | gzip --best > file.tar.gz When calling tar, option f states that the output is a file. Setting it to - (stdout) makes tar
write its output to stdout which is the default behavior without both f and -. And as stated by the gzip man page, if no files are specified gzip will compress from standard input. There is no need for - in the gzip call. Option --best (equivalent to -9) sets the highest compression level. # apt-get install 7zip # dpkg -L 7zip /usr/bin/7zz ... $ 7zz Usage: 7zz <command> [<switches>...] <archive_name> [<file_names>...] [@listfile] <Commands> a : Add files to archive b : Benchmark l : List contents of archive u : Update files to archive x : eXtract files with full paths -bt : show execution time statistics -mmt[N] : set number of CPU threads -mx[N] : set compression level: -mx1 (fastest) ... -mx9 (ultra) -o{Directory} : set Output directory -p{Password} : set Password $ 7zz a -bt -mmt8 --mx9 t.7z lanczos/ $ 7zz l t.7z
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· 三行代码完成国际化适配,妙~啊~
· .NET Core 中如何实现缓存的预热?
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
2022-01-10 A Child's History of England.119
2022-01-10 A Child's History of England.118
2022-01-10 A Child's History of England.117
2022-01-10 A Child's History of England.116
2022-01-10 A Child's History of England.115
2022-01-10 A Child's History of England.114
2022-01-10 ARM, RISC-V和8086简单比较