MvDo Function, MVT, Miva 9+, Engine v5.22+
tar_create( file, file_loc, dir, dir_loc, flags )
<mvt:assign name="g.return_value" value="tar_create( file, file_loc, dir, dir_loc, flags )" />
Creates a compressed Unix style tar file.
file
target output file
location
location of the output file - 'data' or 'script'
dir
source directory to create a tarball of
dir_loc
location of the source file - 'data' or 'script' defaulting to data
flags
may be an empty string or 'compress' which will cause the output .tar file to be bzip2 encoded.