tech:unzip_list
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| tech:unzip_list [2025/03/24 15:06] – créée - modification externe 127.0.0.1 | tech:unzip_list [2025/03/27 11:53] (Version actuelle) – Jean-Baptiste | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | < | ||
| + | {{tag> | ||
| + | |||
| + | # Note commande unzip zip | ||
| + | |||
| + | ## unzip | ||
| + | |||
| + | ~~~ | ||
| + | $ unzip -l plop.zip | ||
| + | |||
| + | Archive: | ||
| + | Length | ||
| + | --------- | ||
| + | | ||
| + | 273 2015-01-22 17:27 | ||
| + | | ||
| + | | ||
| + | 10265 2015-01-22 17:27 | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | 899 2015-01-22 17:27 | ||
| + | 10111 2015-01-22 17:27 | ||
| + | 0 2015-01-22 17:27 | ||
| + | 0 2015-01-22 17:27 | ||
| + | 0 2015-01-22 17:27 | ||
| + | 0 2015-01-22 17:27 | ||
| + | 0 2015-01-22 17:27 | ||
| + | 0 2015-01-22 17:27 | ||
| + | 0 2015-01-22 17:27 | ||
| + | 0 2015-01-22 17:27 | ||
| + | 0 2015-01-22 17:27 | ||
| + | | ||
| + | | ||
| + | 0 2015-01-22 17:27 | ||
| + | 0 2015-01-22 17:27 | ||
| + | 0 2015-01-22 17:27 | ||
| + | 0 2015-01-22 17:27 | ||
| + | 0 2015-01-22 17:27 | ||
| + | 0 2015-01-22 17:27 | ||
| + | 0 2015-01-22 17:27 | ||
| + | 0 2015-01-22 17:27 | ||
| + | 0 2015-01-22 17:27 | ||
| + | | ||
| + | 10400 2015-01-22 17:27 | ||
| + | | ||
| + | | ||
| + | --------- | ||
| + | 4126694 | ||
| + | ~~~ | ||
| + | |||
| + | ~~~ | ||
| + | $ unzip -Z1 plop.zip | ||
| + | mimetype | ||
| + | layout-cache | ||
| + | ObjectReplacements/ | ||
| + | ObjectReplacements/ | ||
| + | ObjectReplacements/ | ||
| + | meta.xml | ||
| + | content.xml | ||
| + | Obj100 | ||
| + | styles.xml | ||
| + | manifest.rdf | ||
| + | settings.xml | ||
| + | Configurations2/ | ||
| + | Configurations2/ | ||
| + | Configurations2/ | ||
| + | Configurations2/ | ||
| + | Configurations2/ | ||
| + | Configurations2/ | ||
| + | Configurations2/ | ||
| + | Configurations2/ | ||
| + | Configurations2/ | ||
| + | Obj101 | ||
| + | Thumbnails/ | ||
| + | Object 1/ | ||
| + | Object 1/ | ||
| + | Object 1/ | ||
| + | Object 1/ | ||
| + | Object 1/ | ||
| + | Object 1/ | ||
| + | Object 1/ | ||
| + | Object 1/ | ||
| + | Object 1/ | ||
| + | Object 1/ | ||
| + | Object 1/ | ||
| + | Object 1/ | ||
| + | META-INF/ | ||
| + | ~~~ | ||
| + | |||
| + | ### Vérifier l' | ||
| + | |||
| + | ~~~bash | ||
| + | unzip -t plop.zip | ||
| + | |||
| + | unzip -qt plop.zip | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | ### Décompression | ||
| + | |||
| + | ~~~bash | ||
| + | unzip plop.zip | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | ## zip | ||
| + | |||
| + | Créer une archive / compresser un dossier | ||
| + | ~~~bash | ||
| + | zip -r plop.zip dir1/ dir2/ | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | |||
| + | ## Comparaison /diff | ||
| + | |||
| + | ~~~bash | ||
| + | zipcmp file1.zip file2.zip | ||
| + | pkgdiff -hide-unchanged file1.zip file2.zip | ||
| + | ~~~ | ||
| + | |||
