Sample code for 30+ languages & platforms
Xojo Plugin

UnGzip .tgz to get a .tar

See more Tar Archive Examples

A .tgz is simply a TAR archive compressed using GZip. It is also commonly referred to as a .tar.gz. Chilkat GZip can be used to ungzip to get an uncompressed .tar.

Chilkat Xojo Plugin Downloads

Xojo Plugin
Dim success As Boolean
success = False

Dim gzip As New Chilkat.Gzip

success = gzip.UncompressFile("qa_data/tar/test.tgz","qa_output/test.tar")
If (success <> True) Then
    System.DebugLog(gzip.LastErrorText)
Else
    System.DebugLog("success.")
End If