Reading files in .rar archive without unzipping
조회 수: 33 (최근 30일)
이전 댓글 표시
I am trying to get a listing of the files contained in a .rar (unencrypted) archive without unzipping the archive each time I want to run the script. There is a method to get the files listed in a zip archive, but since I'm using this for storage purposes, I am saving as a .rar for better compression.
This post describes a procedure by which one can obtain a list of the files inside a zip archive, but I can't get it to work with a rar archive. Any help would be great. Thanks.
댓글 수: 0
답변 (1개)
Walter Roberson
2022년 7월 28일
For the task of getting the list of files in a rar, without extracting them, https://stackoverflow.com/questions/561107/rar-archives-with-java
(RAR license is restrictive about doing extraction.)
댓글 수: 8
Walter Roberson
2022년 8월 3일
Hmmm, the documentation at https://github.com/radarsh/raroscope hints that it needs to be compiled into a .jar -- see the "Gradle" part
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!