zipgrep with wildcard to match multiple files

1.1k Views Asked by At

How to unzip multiple zip archives using a wildcard with zipgrep:

$ zipgrep statistics.*.zip
caution: filename not matched:  statistics.2021-02-19.1.log.zip
caution: filename not matched:  statistics.2021-02-19.2.log.zip
caution: filename not matched:  statistics.2021-02-19.3.log.zip
/usr/bin/zipgrep: line 97: test: -eq: unary operator expected
/usr/bin/zipgrep: line 100: test: : integer expression expected

I'm expecting the same output as with zgrep over matching gz and plain text files.

The output is for MacOS

0

There are 0 best solutions below