banner



How To Extract Tar Gz File In Windows 7

Download Article

Download Article

Tar files (a.one thousand.a, ".tar.gz," ".tgz", or ".gz" files) are compressed archive files similar to ".zip" files. They are most commonly used on Unix-based operating systems like Linux, and macOS. Since they are ofttimes used as regular information archival and storage, Windows users may come beyond them from time to time and need to extract them. While you tin excerpt them using a third-political party app like 7-Aught, information technology is much more efficient to extract them using the Windows Command Prompt. This wikiHow article teaches you how to extract a tar file using the Windows Command Prompt.

Steps

  1. ane

    Click the Windows Start Carte . It'south the icon with the Windows logo. By default, it is in the lower-left corner in Windows 10.

  2. two

    Type CMD. This displays the Control Prompt in the Windows Get-go menu.

    Advertisement

  3. 3

    Right-click the Command Prompt and click Run as Ambassador . The Windows Control Prompt has an icon that resembles a black screen with a white text cursor. Right-click the Control Prompt to display a context menu. Click Run equally Administrator at the acme to launch the Command Prompt with administrative privileges.

    • Yous must be logged in to an administrative account in society to launch an app as an ambassador.
  4. 4

    Blazon tar -xvzf. This is the beginning of the command to extract a ".tar" file. Do not press "Enter" just yet.

  5. 5

    Press Space and enter the path to the tar file. Add a space afterwards the "tar -xvzf" control and and so enter the path to the location of the ".tgz" file. For example, if information technology is in your "Downloads" folder, you would enter "C:\Users\username\Downloads\".

    • You can discover the path to a file by navigating to the file in File Explorer. Correct-click the address bar at the pinnacle and click Copy Address. You tin can then paste it into the Control Prompt.
  6. vi

    Enter the filename. Immediately after the path, enter the file name. For example, "archive.tgz."

  7. 7

    Press Space and and so type -C. After inbound the filename, add a space followed by "-C".

  8. 8

    Add a space and enter the path to where you want to extract the file to. Immediately after "-C", add another space and and then enter the path yous want to extract the file to. For instance, if y'all desire to excerpt the contents of the folder to your "Documents" folder, yous would enter "C:\Users\username\Documents.".

    • The entire command should look something like tar -xvzf C:\user\username\Downloads\archive.tgz -C C:\user\username\Documents
  9. 9

    Press Enter . This extracts the contents of the tar file to the folder yous specified.[ane] [ii]

  10. Advertisement

Ask a Question

200 characters left

Include your email address to get a message when this question is answered.

Submit

Ad

About This Commodity

Thanks to all authors for creating a page that has been read v,110 times.

Is this article upward to date?

Source: https://www.wikihow.com/Extract-a-Tgz-File-in-Windows-from-the-Command-Line

Posted by: fosterager1944.blogspot.com

0 Response to "How To Extract Tar Gz File In Windows 7"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel