: Use the -C flag: tar -xvzf filename.tar.gz -C C:\target\path . 3. Third-Party Software
Have a favorite tool for handling Linux archives on Windows? Let us know in the comments.
Since Windows 10 (version 1803 and later), a native tar.exe utility has been included that mirrors the classic Linux command. : tar -xvzf filename.tar.gz . -x : Extract the files. -v : Verbose (show the progress). -z : Filter the archive through gzip (uncompress it). -f : Use the specific file named.