[-x xfile(s)]
An optional list of archive members to be excluded from process‐
ing. Since wildcard characters normally match (`/') directory
separators (for exceptions see the option -W), this option may
be used to exclude any files that are in subdirectories. For
example, ``unzip foo *.[ch] -x */*'' would extract all C source
files in the main directory, but none in any subdirectories.
Without the -x option, all C source files in all directories
within the zipfile would be extracted.
至少
UnZip 6.00
在基于 Debian 的发行版中,您可以使用-x
带有通配符的选项,如下所述man unzip
:例如,给定
然后
像这样,以MCVE 的方式:
输出