1

如何使用通配符解压缩多个 zip 档案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

我期待与zgrep过度匹配的 gz 和纯文本文件相同的输出。

输出适用于 MacOS

4

0 回答 0