![]() ![]() It's worth noting that everything in this article also works on the Windows Subsystem for Linux, which allows you to install the Bash shell inside of Windows 10 or Windows 11, although there are other ways to open tar.gz files on Windows as well. And since it’s a HowTo, I was wondering what the most elegant command line to do that would be. Steve-o at 2:49 1 unclejamil: I’m writing a HowTo and one of the steps in it involves unpacking several compressed files (.tar.bz2. Take note that for Windows users, you will need 7zip to unzip tar gz. You just need to use the appropriate tar command line options. 1 FYI: GNU tar supports multi-volume tar archives with the -M parameter. To do so, simply right-click on the tar.gz file you want to extract and click on Extract. bz2 extension suffix indicates that the archive has been compressed, using either the gzipĬompression algorithm. 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. Someone somewhere is probably still using tar with tape. Using Cygwin you can unpack a tgz (zipped tar) file like this: tar -xzf foo.tgz (which means extract zipped file) You can also drag and drop the tgz file to the cygwin terminal window in order to get the path right. To do it all in one step, you need the tar program. It's overkill just to unpack one tarball, but if you like the Linux command line tools, Cygwin is well worth installing. Forty years later we are still using the tar command to extract tar files on to our hard drives. So the first step decompresses, and the second step extracts the archive. Tar files date all the way back to 1979 when the tar command was created to allow system administrators to archive files onto tape. Portion of the file extension stands for tape archive, and is the reason that both of these file types are called tar files. tarĮxtension 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. You'll encounter them frequently while using a Linux distribution like Ubuntu or even while using the terminal on macOS.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |