我正在尝试列出嵌套 zip 中的文件,如下所示。它不是在第二级列出文件。
例如:
abc.zip
包含test1.zip
, test2.zip
,test3.zip
pqr.zip
包含test4.zip
, test5.zip
,test6.zip
for f in *.zip
do
unzip -l ${f}
for p in ${f}
do
unzip -l ${p}
done
done
Run Code Online (Sandbox Code Playgroud)