How to search the files inside a zip file?
18 ビュー (過去 30 日間)
古いコメントを表示
I have a zip file which contains another 1000 zip files and I need to search among these zip files and separate 200 of them and copy them to my folder. Is there any way to do that?
0 件のコメント
採用された回答
Walter Roberson
2017 年 10 月 3 日
Note: there was a posting a couple of weeks ago indicating that MATLAB's zip facility (which calls Java's zip libraries) is much much slower at unzipping than an external unzip.
It is plausible that you might want to use a MATLAB program to analyze a zip file to figure out which specific parts you wanted to extract, but that you might then call out to 7zip or the like in order to do the actual extraction.
3 件のコメント
Walter Roberson
2017 年 10 月 3 日
You will probably need to code this in Java. Java has a method to work with a zip file from memory instead of needing to extract it.
However, 50 GB is pretty large and I think it likely that you would get much higher performance using some kind of external tool.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で File Operations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!