필터 지우기
필터 지우기

How to search the files inside a zip file?

조회 수: 26 (최근 30일)
Kian Azami
Kian Azami 2017년 10월 3일
댓글: Kian Azami 2017년 10월 3일
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?

채택된 답변

Walter Roberson
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
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.
Kian Azami
Kian Azami 2017년 10월 3일
Thank You Walter, the resources you suggested are useful.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by