![]() You just need to use the appropriate tar command line options. The tar command will work happily with both types of file, so it doesn't matter which compression method was used - and it should be available everywhere you have a Bash shell. bz2 extension suffix indicates that the archive has been compressed, using either the gzip or bzip2 compression algorithm. Someone somewhere is probably still using tar with tape. Forty years later we are still using the tar command to extract tar files on to our hard drives. Tar files date all the way back to 1979 when the tar command was created to allow system administrators to archive files onto tape. The command below, will list the content of the archive.tar file: tar -tf archive. tar.gz): tar xjf 2 - to uncompress a bzip2 tar file. The following command creates a tar.bz2 archive from the given files: tar -cjf 2 file1 file2 Listing Tar Archives When used with the -list (-t) option, the tar command lists the content of a tar archive without extracting it. tar portion of the file extension stands for tape archive, and is the reason that both of these file types are called tar files. tar xzf - to uncompress a gzip tar file (.tgz or. tar extension is uncompressed, but those will be very rare. tar.bz2 extension are compressed archive files. Here's how to extract - or untar - the contents of a tar file, also known as a tarball. tar.bz2 extension, it clearly means the tar file was later compressed with the bzip2 command. You'll encounter them frequently while using a Linux distribution like Ubuntu or even while using the terminal on macOS. tbz files in Ubuntu If you have a file with.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |