How do I recusively unzip nested ZIP files?
问题 Okay, given there is a secret file deep inside a nested ZIP file , i.e. a ZIP file inside a zip file inside a zip file, etc... The ZIP files are named 1.zip , 2.zip , 3.zip , etc... We don't know how deep the ZIP files are nested but it may be thousands . What would be the easiest way to loop through all of them up until the last one to read the secret file ? My initial approach would have been to call unzip recursively, but my bash skills are limited. What are your ideas to solve this? 回答1: