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)
- Best Home Jobs in 2019 – Smart Ways to Side Hustle - April 15, 2019
- Top 10 Free Movie Streaming Sites for Movie Lovers - April 3, 2019
- Tips To Choose a Good Topic for a Research Paper - March 28, 2019