PurposeCreate a Unix tar archive from a list of files.Synopsis
procedure newtar(opt:integer,tarfile:text,dir:text, lsf:list of text|string)
procedure newtar(tarfile:text,lsf:list of text|string)Arguments
SYS_NODIR SYS_DIRONLY tarfile File name of the archive dir Base directory (default: current directory) lsf List of files to store in the archive (file names are relative to the dir directory)ExampleThe following creates an archive of the Xpress installation including only binary files:findfiles(SYS_RECURS,lsf,getenv("XPRESSDIR"),"bin/*;lib/*;dso/*") newtar(0,"xpress.tar",getenv("XPRESSDIR"),lsf)Further informationThis implementation processes only regular files and directories: other file types (like links) are silently ignored and not included in the archive.Related topicsModule
If you have any comments or suggestions about these pages, please send mail to email@example.com.
© Copyright 2001-2013 Fair Isaac Corporation. All rights reserved.