mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-28 23:37:56 +01:00
lrztar: add page (#2453)
This commit is contained in:
parent
604875cfd5
commit
34d837bbb7
1 changed files with 24 additions and 0 deletions
24
pages/linux/lrztar.md
Normal file
24
pages/linux/lrztar.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# lrztar
|
||||
|
||||
> A wrapper for `lrzip` to simplify compression of directories.
|
||||
> See also: `tar`, `lrzuntar`, `lrunzip`.
|
||||
|
||||
- Archive a directory with `tar`, then compress:
|
||||
|
||||
`lrztar {{path/to/directory}}`
|
||||
|
||||
- Same as above, with ZPAQ - extreme compression, but very slow:
|
||||
|
||||
`lrztar -z {{path/to/directory}}`
|
||||
|
||||
- Specify the output file:
|
||||
|
||||
`lrztar -o {{path/to/file}} {{path/to/directory}}`
|
||||
|
||||
- Override the number of processor threads to use:
|
||||
|
||||
`lrztar -p {{8}} {{path/to/directory}}`
|
||||
|
||||
- Force overwriting of existing files:
|
||||
|
||||
`lrztar -f {{path/to/directory}}`
|
Loading…
Reference in a new issue