Pack the list of files and directories specified in files into the TAR archive tarfile.
files is a character array or cell array of strings. Shell wildcards in the filename such as ‘*’ or ‘?’ are accepted and expanded. Directories are recursively traversed and all files are added to the archive.
If rootdir is defined then any files without absolute pathnames are located relative to rootdir rather than the current directory.
The optional output filelist is a list of the files that were included in the archive.
See also: untar, unpack, bzip2, gzip, zip.
Package: octave