Questions tagged [unrar]

Unrar is the name of two different command-line applications for extracting RAR archives.

Unrar is the name of two different command-line applications for extracting RAR archives.

RARLAB UnRAR
This version of UnRAR is distributed by RARLAB, the makers of the commercial WinRAR archivers. It can extract newer RAR3 archives not supported by GNA's version.

GNA UnRAR
This free software version of UnRAR is based on an old version of RARLAB's UnRAR with permission from author Eugene Roshal. It is licensed under the GPL. It does not support the RAR3 format.

120 questions
0
votes
0 answers

unrar with long file path

I have an .rar achive, when I use right click on file explorer, and use the menu "extract here", I can extract the files sucessfully. but when I use unrar.exe to extract the same achive, I got errors like can not find the specified path. the path in…
0
votes
1 answer

extract rar files to same folder name

I have many .rar folders within a particular directory. I want to extract contents of each rar folder in the same directory and all the extracted files of rar folder should be placed in the new folder with the same name as that of the rar folder…
Anshul Arora
  • 15
  • 1
  • 5
0
votes
1 answer

Ubuntu unrar does not extract dot files

I'm facing a weird problem. I'm getting a rar file on my ubuntu server through wget and I do unrar e -r file.rar to extract all files. However, files like .htaccess are not extracted. I know it is present because when I download it on my PC, winrar…
mehulmpt
  • 15,861
  • 12
  • 48
  • 88
0
votes
4 answers

Get filename from wget in php

I'm setting up a script so that I can input a URL to a web page and the script will wget the file. Most of the files, however, will be in the *.rar format. Is there anyway I can pass the filename to the unrar command to unarchive the files…
esqew
  • 42,425
  • 27
  • 92
  • 132
0
votes
1 answer

Unrar and unzip simultaneously

I have a tcl script but that can only one decompress one thing at a time. I must currently wait for the moment it has finished, before I can make the next. How do I do two things at once? bind pubm - "*complete*" unrar proc unrar {nick host handle…
F.Toa
  • 1
  • 1
0
votes
1 answer

(Python) Issue with linux command unrar, cannot for the life of me figure out why

So recently i made a thread here about needing help with a script that should automatically extract .rar files and .zip files for me, without user interaction. With the various help of people i have made this: import os import re from subprocess…
nillenilsson
  • 473
  • 1
  • 4
  • 14
0
votes
1 answer

Run script on a selected file

I'm trying to make script or automate unrar to unrar a selected file to a specific folder (hard coded). I want the following code to be run in terminal by clicking a button in finder or a keyboard shortcut while I have a file selected. unrar e…
user6791137
0
votes
0 answers

Temp directory for unrar

and thanks in advance for all answer. I'm running slitaz on a very small and just tailored patition, using unrar as root to decompress a file on a mounted external HD maybe I didn't specify the destination path so I failed to unrar the file but also…
0
votes
1 answer

handling errors from unrar DLL

If you run the command-line version of unrar it logs out vital information when an archive fails to extract. I'm trying to do the same thing with the unrar DLL. I've already had to make some changes to the DLL source code to support registering my…
stukennedy
  • 1,088
  • 1
  • 9
  • 25
0
votes
1 answer

Getting name of file inside a rar without unrar

Trying to get a bash script together, however I'm stuck at this. The rar is splited into x files, within the rar is 1 single file. What I'm doing is as below: cd $dir for rarfile in $(find -iname "*.part1.rar") do echo "Rar…
Le Thanh Viet
  • 47
  • 2
  • 12
0
votes
2 answers

Extract encrypted rar archive without showing password

i got an idea to make something like keychain with keys, which will contain possible passwords to extract my password protected archives. So passwords will stay hidden, but user will still able to extract archive without knowing password. Problem is…
Nafalem
  • 261
  • 5
  • 16
0
votes
1 answer

Extract first file only in RAR archive

I want to use Alexander Roshal's Unrar 5.21 under Mac OS X to extract only the first file (of which I do not know the name) of a given archive. Since all the files in the archive are jpg, the following gives me name of the first file: unrar t…
user3781201
  • 1,261
  • 2
  • 9
  • 7
0
votes
1 answer

Bash CD to directory

I am trying to change the extraction_sudir to a completely unrelated path to the file location (/home/user/downloads/tcomplete/foldername/file.mp4 #!/bin/bash formats=(zip rar) commands=([zip]="unzip -u" [rar]="unrar -o-…
Keelan
  • 325
  • 1
  • 4
  • 12
0
votes
2 answers

PHP UnRar.exe into a specific directory

Ive just found this script and it is exactly what im looking for, However how can i tell it to extract the files into a specific folder? Here is the script
Exoon
  • 1,513
  • 4
  • 20
  • 35
0
votes
1 answer

PHP exec_shell using unrar.exe

I'm running the following php code; $output = exec('"D:\TESTDIR\unrar.exe" e "D:\TESTDIR\Icons.rar" -ppassword'); echo $output; Which isn't working... I want it to extract the files into the same directory. If I copy the contents of the exec into a…
Joel
  • 2,185
  • 4
  • 29
  • 56