 [det]archive_create(+OutputFile, 
+InputFiles, +Options)Convenience predicate to create an archive in OutputFile with 
data from a list of InputFiles and the given Options.
[det]archive_create(+OutputFile, 
+InputFiles, +Options)Convenience predicate to create an archive in OutputFile with 
data from a list of InputFiles and the given Options.
Besides options supported by archive_open/4, 
the following options are supported:
- directory(+Directory)
- Changes the directory before adding input files. If this is specified, 
paths of input files must be relative to
Directory and archived files will not have Directory 
as leading path. This is to simulate -Coption of thetarprogram.
- format(+Format)
- Write mode supports the following formats:‘7zip`, cpio,gnutar,iso9660,xarandzip. 
Note that a particular installation may support only a subset of these, 
depending on the configuration oflibarchive.