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
精彩评论