Unzip Tar. Gz in Windows
I Would Like to Unzip Filename. Tar. Gz to Filename Using Single Command in Windows Batch Script All the Files Inside Zip Should Go Inside the Filename Folder...
I would like to unzip Filename.tar.gz to Filename using single command in windows batch script All the files inside zip should go inside the Filename Folder I am trying to do in windows . I am not getting correct output. Can anyone suggest an idea
4 Answers
Windows Command line now supports tar from Windows 10 insider build 17063. You may try run the below command in cmd or PowerShell to see if it works:
tar xzvf your-file-name.tar.gz
7 zip can do that:
It has a documented command line. I use it every day via scripts.
Plus: it is free and has 32 and 64 bit versions.
Windows 10 command line supports tar command
Write the tar command as general to the Linux terminal.
tar -zxvf tar-filename.tar.gz --directory destination-folder
Another option is the Arc program:
arc unarchive test.tar.gz