mko mko - 10 months ago 66
Linux Question

Are tar.gz and tgz the same thing?

I created .tgz file with

tar czvf file
command.then I ended up with a tgz file. I want to know the difference between it and tar.gz.

Answer Source

I think in the old package repo days, .tgz was used because files on Dos floppies could only have three letter extensions. When this limitation was removed .tar.gz was used to be more verbose by showing both the archive type (tar) and zipper (gzip).

They are identical.