What is Tar.gz File? How to Open it on different Operating systems
This file system is also called as a tarball. It’s a group of files wrapped up in one single file to ensure easy and convenient storage. When you store files in this format, you needn’t to keep track of whole folder of files. Instead, you only need to keep track of one. When Tar files are created, they are compressed and saved with tar.gz file extension.
How Do I Open a Tar gz File on Linux and MacOS?
In case you’re using macOS or Linux, you can run a single command to run the .Tar files. In the example, we assume tarfile is the name of your file:
tar -xzf tarfile
The command is available with few pre-defined flags that you can use:
-v: Enables verbose mode, showing the progress of the command
-z: Uses gzip, omit this if you just have a .tar
-f: specifies file input, rather than STDIN
It’s easy to create a tar file. Just replace the -x with a -c to “Create.
Furthermore, if you hate using terminals to create or run tar files, macOS can open tar and tar.gz files by default with the Archive Utility. Just double click on the file, and it will extract. On Windows as well, you’re required to install an external program like 7-Zip or Winrar to open them.
Latest posts by Genelia Timothi (see all)
- Top 10 Best Upcoming PS4 Games for 2019 - December 4, 2018
- Top 7 PDF File Editing Software for 2018 - November 21, 2018
- Meet Xiaomi MI 9, First Snapdragon 8150 SOC Powered Smartphone - November 6, 2018