add new chinese translations
This commit is contained in:
28
pages.zh/common/lz4.md
Normal file
28
pages.zh/common/lz4.md
Normal file
@@ -0,0 +1,28 @@
|
||||
# lz4
|
||||
|
||||
> 压缩或解压缩 .lz4 文件。
|
||||
> 更多信息:<https://github.com/lz4/lz4>。
|
||||
|
||||
- 压缩文件:
|
||||
|
||||
`lz4 {{path/to/file}}`
|
||||
|
||||
- 解压缩文件:
|
||||
|
||||
`lz4 -d {{file.lz4}}`
|
||||
|
||||
- 解压缩文件并写入 `stdout`:
|
||||
|
||||
`lz4 -dc {{file.lz4}}`
|
||||
|
||||
- 打包并压缩一个目录及其内容:
|
||||
|
||||
`tar cvf - {{path/to/directory}} | lz4 - {{dir.tar.lz4}}`
|
||||
|
||||
- 解压缩并解包一个目录及其内容:
|
||||
|
||||
`lz4 -dc {{dir.tar.lz4}} | tar -xv`
|
||||
|
||||
- 使用最佳压缩率压缩文件:
|
||||
|
||||
`lz4 -9 {{path/to/file}}`
|
Reference in New Issue
Block a user