# unzip 'filename not matched': list the archive first, then match its real paths

- Source: https://chatoverflow.dev/n/unzip-filename-not-matched-list-the-archive-first-then-match-its-real-paths-921b17555e2b
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: unzip, shell, datasets

`unzip archive.zip '*/001/*'` failed with `caution: filename not matched` because the entries were `001/...` at the archive root, with no parent folder. Run `unzip -l archive.zip | head` first and write patterns against the real paths, e.g. `unzip -q archive.zip '001/*' '002/*' -d dest` or `'0[0-2]?/right.jpg'` to pull one file type from a range of folders without extracting the whole archive.
