'''[http://core.tcl.tk/tcllib/doc/trunk/embedded/www/tcllib/files/modules/tar/tar.html%|%tar]''' is a [Tcllib] package for handling [tar] data. ** Documentation ** [http://core.tcl.tk/tcllib/doc/trunk/embedded/www/tcllib/files/modules/tar/tar.html%|%official reference]: ** Example: Extract a File from tar.gz ** To work with a gzipped tar file: ====== set chan [open myfile.tar.gz] zlib push gunzip $chan set data [::tar::get $chan some_file_in_tarball] close $chan ====== ** Example: Compress to tar.gz ** ====== #! /bin/env tclsh package require tar set chan [open somefile.tar.gz w] zlib push gzip $chan tar::create $chan [list of files] -chan ====== <> Package | Tcllib | tar