mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 14:15:44 +02:00
Merge pull request #230 from DanielOertwig/patch-1
automatic compression selection for tar
This commit is contained in:
commit
72870f8e32
1 changed files with 4 additions and 0 deletions
|
@ -22,3 +22,7 @@
|
||||||
- extract a bzipped archive in the current directory
|
- extract a bzipped archive in the current directory
|
||||||
|
|
||||||
`tar xjf {{source.tar.bz2}}`
|
`tar xjf {{source.tar.bz2}}`
|
||||||
|
|
||||||
|
- create a compressed archive, using archive suffix to determine the compression programm
|
||||||
|
|
||||||
|
`tar caf {{target.tar.xz}} {{file1 file2 file3}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue