开发者

Recursive Unzip From Linux Shell?

I have a file named 'mainZip.zip''

This file ('mainZip.zip'') contains two file开发者_如何学运维s:

'textFile.txt'

'secondaryZip.zip'


'secondaryZip.zip' file contains two files as well:

'apple.bin'

'cat.jpg'


Can you advise how to unzip 'cat.jpg' in one bash command? can this be done using 'unzip' only?


This works:

unzip mainZip.zip && unzip secondaryZip.zip


Here is someone's answer to this exact question, using a custom script. It appears that Unix does not have a built-in recursive unzip option

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜