tar -czvf archive.tar.gz folder1 file1.txt file2.jpg
Developers and power users running WSL.
Use the Command Prompt to run the following: tar -xvzf yourfile.tar.gz (Note: -x extracts, -v is verbose, -z handles gzip compression, and -f specifies the filename) .