I use my Pi as a download/torrent server. I have no display connect, I do everything with SSH and Transmission and Aria2 remotes.
I downloaded a bunch of multi-part .rar, but I would like to extract all the files before sending them to my PC. I searched for a rar extraction software for Debian/Raspberry, but I didn’t find anything really useful, most are discontinued. I would like to be able to do everything from SSH.
Could someone help me for that ? Thanks in advance for any answer. Have a good day.
I believe 7zip has an arm port, and I know if you tell it to unrar the .rar file it will automatically use the .rxx numbers after to fully extract the files
It is called p7zip-full
just do a
sudo apt install p7zip-full
Once installed go into the directory where your compressed files are then
p7zip -d filename.rar
and it should do it’s thing
Recommend to not bork up the torrents use option -dk to leave the original .rar files there until you want to delete them from the swarm
warhawk@M-340C:~$ p7zip --help
Usage: /usr/bin/p7zip [options] [--] [ name ... ]
-c --stdout --to-stdout output data to stdout
-d --decompress --uncompress decompress file
-f --force do not ask questions
-k --keep keep original file
-h --help print this help
-- treat subsequent arguments as file
names, even if they start with a dash
unrar works, but apparently it has issues with multi part rar. When I try to extract a part, it doesn’t take the other parts into account. It will correctly unrar the files that are entirely in part01, but if a file is seperated between part01 and part 02, it will fail to extract it. Files that are entirely on other parts doesn’t appear.
So especially when there is a directory structure included, use unrar x filename.rar command. To extract to a certain directory unrar x filename.rar /path/to/dir/. Exacting only specific files from the archive and the options are mostly not required for what you want, I guress.