close

Generally, a file by using the .tar.gz is a file which has been created by simply using Unix-based archival application tar and then compressed by using the gzip compression. These files are often referred as the “tarballs,” and you can easily find them with just a double extension. This extension can also be shortened to the .tgz or.gz.

Tar files are normally used by the macOS and Ubuntu users for data archival and backup purposes. But sometimes Windows 10 users may also come across these types of files and need to extract its content. Although you can also use some third-party applications like 7-Zip and many more, sometimes these applications don’t work well with the files which are created on another platform, and they were also very slow to uncompressed a large number of files together.

Here we discussed all the steps of using the native tar commands on Windows 10 by using the Ubuntu to extract the content of a .tar.gz file. The steps are easy, but to make it easier follow the steps in the given sequence.

Steps to Extract .tar.gz Files on Windows 10

Below we provide you with two simple methods by which you can be able to extract the files on your Windows 10. The two different methods are:

  • Quickly Extract .ter.gz, .tgz, or.gz tarballs with Windows Subsystem for Linux.
  • Quickly Extract .tar.gz, .tgz, or .gz tarballs without Windows Subsystem for Linux

 

Method-1: Extract .ter.gz, .tgz, or.gz tarballs with Windows Subsystem for Linux

To use the tar on Windows 10, you have to install Ubuntu on your system. Starting with the Fall Creator Update, you can simply enable the Windows Subsystem for Linux by using the Windows Feature experience. Once the Ubuntu has been installed on your Windows 10 system, and then follow the steps given below:

  1. Launch Start option.
  2. Find the Ubuntu and then click on the result option.
  3. Now, type the below-given command to extract the content of .tar.gz file:
  • sudo tar -xvzf /mnt/c/PATH/TO/TAR-FILE/Desktop/FILE-NAME.tar.gz -C /mnt/c/PATH/TO/DESTINATION/FOLDER
  1. Next, hit the Enter key.
  2. Now, the file has been extracted

John Smith is a self-professed security expert; he has been making the people aware of the security threats. His passion is to write about Cyber security, cryptography, malware, social engineering, internet and new media. He writes for Norton security products at www.norton.com/setup

Source : https://paulgenin.wordpress.com/2018/12/03/how-to-extract-tar-gz-files-on-windows-10/

arrow
arrow
    全站熱搜

    John Smith 發表在 痞客邦 留言(0) 人氣()