What Is A Tar.gz File Official

tar -czf archive-name.tar.gz /path/to/folder-or-files

| Format | Compression | Preserves permissions | Common on | |--------|-------------|------------------------|------------| | .tar.gz | Good | Yes | Linux, macOS | | .zip | Good | No (partial) | Windows, cross-platform | | .tar.xz | Better (slower) | Yes | Linux packages | | .7z | Best | No | Windows (7-Zip) | what is a tar.gz file

If you don't want to use command-line tools or GUI utilities, you can also use online tools like Extract.me or Online-Convert.com to extract .tar.gz files. tar -czf archive-name