ONYX - 9.0 - Utilisation
commande map zip
De MappingDoc
Introduction
Cette documentation concerne la commande MAPPING map_zip
Aide contextuelle
USAGE : map_zip <option> -zipfile:XXXX [ listfile... ] -zipfile:XXXX : Name of ZIP file to compress or decompress [ listfile... ] : List of files to compress [ -infile:file,...,file ] : List of files to compress [ -infile:file ... -infile:file ] : List of files to compress [ -inpath:XXXXX ] : Source path of files to compress [ -outpath:XXXX ] : Destination path of files to decompress : Destination path to create compressed file [ -outfile:XXXX ] : Destination file if only one file in the archive [ -printer:XXXX ] : Destination printer Options: -d | --decompress : decompress -c | --compress : compress -l | --list : list compressed files contents -v | --verbose : verbose mode --relative : (Compress) Allow to use -infile without the full path Note: if 'inpath:XXXX' only, whole folder will be compressed
Exemples
Compression chemin absolu
Cette exemple créera un /apps/mapping/infile/file.zip qui est la compression du répertoire /apps/mapping/infile/file
/apps/mapping/bin/map_zip -zipfile:/apps/mapping/infile/file.zip --compress -infile:/apps/mapping/infile/file
Remarque importante : Le contenu du file.zip sera composé du chemin absolu du répertoire soit /apps/mapping/infile/file (avec les répertoires apps, mapping et infile vides)
/apps/mapping/bin/map_zip -zipfile:/apps/mapping/infile/file.zip --relative --compress -infile:/apps/mapping/infile/file