tar
Compress files into tar file
Description
tar(
compresses contents of tarfilename
,filenames
)filenames
into the tar file
tarfilename
. tar
recursively
compresses the content in folders. The resulting tar file contains the paths of
filenames
relative to the current folder. The tar file does
not store absolute paths.
tar(
specifies the paths for tarfilename
,filenames
,rootfolder
)filenames
relative to
rootfolder
rather than the current folder.
returns a cell array of character vectors containing the names of the files included
in entrynames
= tar(___)tarfilename
. You can use this syntax with any of the input
argument combinations in the previous syntaxes.