download sample tar.gz file code example
Example 1: tar.gz files
tar -czvf name-of-archive.tar.gz /path/to/directory-or-file
Example 2: how to open tar.gz file in windows 10
tar -xvzf <filename.tar.gz>
tar -czvf name-of-archive.tar.gz /path/to/directory-or-file
tar -xvzf <filename.tar.gz>