'7z x file.rar produces empty txt files
I want to extract a rar file on a server, where I don't have sudo rights. Unfortunately, no unrar is installed, but only 7zip. When I try to extract the rar file, that contains a bunch of txt files, via
7z x file.rar
the txt files are created, but they are all empty. I checked it locally and the rar file is not corrupted, so the problem lies somewhere else. I also receive the fellowing errors:
ERROR: Unsupported Method : extracted_file.txt
Sub items Errors: 153
Archives with Errors: 1
Does anyone know how to deal with that problem? Is there another way to extract the rar file potentially? I tried to write a python script, which uses the package rarfile, but it needs unrar to be installed.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
