open .tar.gz osx code example Example: files tar.gz tar -czvf name-of-archive.tar.gz /path/to/directory-or-file