ONYX - 9.0 - Utilisation - commande map zip
Différence entre versions
De MappingDoc
(→Exemples) |
|||
Ligne 28 : | Ligne 28 : | ||
===Compression chemin absolu=== | ===Compression chemin absolu=== | ||
Cette exemple créera un '''/apps/mapping/infile/file.zip''' qui est la compression du répertoire '''/apps/mapping/infile/file''' | 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 | ||
+ | |||
+ | <u>Remarque importante</u> : 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 | /apps/mapping/bin/map_zip -zipfile:/apps/mapping/infile/file.zip --relative --compress -infile:/apps/mapping/infile/file |
Version du 4 décembre 2020 à 10:07
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