1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-10 16:13:31 +02:00

automatic compression selection for tar

Using a instead of z,j,J ... makes it easy to use different compression programms
This commit is contained in:
Daniel Jour 2014-09-04 10:44:00 +02:00
parent b83819f634
commit 36191abc18

View file

@ -22,3 +22,7 @@
- extract a bzipped archive in the current directory
`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}}`