LibTar
From Free Pascal wiki
Jump to navigationJump to searchLibTar is a unit in the 2.1.1 FCL that creates and extracts .TAR archives, kindly relicensed by Stefan Heymann (www.destructor.de])
There are two demoes in the fcl/tests directory: tarmakercons.pas and tarmakerconsgzip.pas. The latter demonstrates making .tar.gz files.