Collect files to tar and compress
Contents
[
Hide
Show
]Tar purpose
Tar archive allows you to combine several files into a single file. You may compress the joint file, too.
Collecting without compression
There is a sample of collecting two files into a tar archive.
Compressing tar archive
In Unix-like operating systems tar
utility allows compressing tar archive to gzip on creation. Aspose.Zip provides similar functionality with the
SaveGzipped method.
Nowadays xz utility has become popular in Linux and Unix. Its compression of tar is seamlessly integrated into Aspose.Zip. Use the SaveXzCompressed method of a tar archive.