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)
- 10 Best File Sharing App to Send Large Files Online - February 15, 2020
- 11 Futuristic Gadgets in 2020 We Can’t Live Without - February 13, 2020
- How to Become a Successful YouTuber? 6 Ways to Go - February 1, 2020