mirror of
https://github.com/Erreur32/cheat.git
synced 2024-11-16 00:48:36 +01:00
15 lines
307 B
Text
15 lines
307 B
Text
|
To extract an uncompressed archive:
|
||
|
tar -xvf /path/to/foo.tar
|
||
|
|
||
|
To extract a .gz archive:
|
||
|
tar -xzvf /path/to/foo.tgz
|
||
|
|
||
|
To create a .gz archive:
|
||
|
tar -czvf /path/to/foo.tgz /path/to/foo/
|
||
|
|
||
|
To extract a .bz2 archive:
|
||
|
tar -xjvf /path/to/foo.tgz
|
||
|
|
||
|
To create a .bz2 archive:
|
||
|
tar -cjvf /path/to/foo.tgz /path/to/foo/
|