Linux: How to create and extract TAR BZ2 archive?

2012-09-14 Linux

In general – tar is an Unix program used to create data archives packed in one, single file. This article will quickly show how to create and extract such archive. Created file will be also compressed with bzip2. To create an archive from a directory or file:

tar -cjf my_archive.tar.bz2 file_or_dir_to_archive

To extract this archive type:

tar -xvjf my_archive.tar.bz2

For more informations about used parameters check this article.

Do NOT follow this link or you will be banned from the site!