mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-05 21:56:00 +00:00
Update cheatsheets
This commit is contained in:
30
linux/lrztar
Normal file
30
linux/lrztar
Normal file
@@ -0,0 +1,30 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# lrztar
|
||||
|
||||
> A wrapper for `lrzip` to simplify compression of directories.
|
||||
> See also: `tar`, `lrzuntar`, `lrunzip`.
|
||||
> More information: <https://manned.org/lrztar>.
|
||||
|
||||
- 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}}`
|
||||
Reference in New Issue
Block a user