Normal and recursive extraction from multi-format archive

버전 1.1.0.0 (4.35 KB) 작성자: Benjamin Pillot
Extract file(s) from multi-format archive using system command
다운로드 수: 65
업데이트 날짜: 2016/9/30

라이선스 보기

Extract file(s) from multi-format archive (almost all formats are supported under GNU/Linux). Recursive extraction is also possible (sub-archives within primary archive).
Decompression uses OS specific commands. Linux (mainly) and Windows (using WinRar) are supported, but the Windows users should check the WinRar command line (line 282 of the "extract.m" m-file) before any use of this function. Mac OS is not supported yet, but mac users can easily adapt this file to their own needs.
The m-file "findFileInFolder.m" (#59357) is also part of the submission as it is required to run the "extract" function. You can find the corresponding contribution here : http://www.mathworks.com/matlabcentral/fileexchange/59357-find-file-s--in-folder-and-sub-folders
Examples:
- extract('/home/test/data.zip') will extract file(s) from archive data.zip to folder /home/test/data
- extract('/home/test/data.zip', true) will recursively extract data.zip and all its sub-archives having any type of extension ('.tar', '.rar', '.gz', '.tbz2', etc.) into /home/test/data
For more information, see m-file help.

인용 양식

Benjamin Pillot (2024). Normal and recursive extraction from multi-format archive (https://www.mathworks.com/matlabcentral/fileexchange/59358-normal-and-recursive-extraction-from-multi-format-archive), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2015a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Search Path에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.1.0.0

Return path to directory of extraction (optional)

1.0.0.0