cheat/.cheat/tar
Simnol 9be7d1f1a6 Update tar
Added 'To create an uncompressed archive:' for no other reason than it was missing and was annoying me.
2013-08-18 15:31:09 +01:00

18 lines
384 B
Plaintext

To extract an uncompressed archive:
tar -xvf /path/to/foo.tar
To create an uncompressed archive:
tar -cvf /path/to/foo.tar /path/to/foo/
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/