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
1
vote
1 answer

Python script to recursively open .rar files in a directory

I'm writing this python script to recursively go through a directory and use the unrar utility on ubuntu to open all .rar files. For some reason it will enter the directory, list some contents, enter the first sub-directory, open one .rar file, then…
user444381
  • 21
  • 6
1
vote
1 answer

Dropbox folder download issue (c#)

I'm automaticly downloading a whole folder from my Dropbox - storage(?), via the weblink eg:https://www.dropbox.com/sh/bunchOfLetters/somthnsomthn?dl=1 with just a basic webclient: using (WebClient wc = new WebClient()) { wc.DownloadFile(new…
1
vote
1 answer

extract a rar file by c code

Possible Duplicate: opening a rar file by c I have to extract a rar file using c code. First I tried out to find the libraries. I got it from http://www.unrarlib.org/. But it was built in 2002. So it do not support the current rar format. Then I…
narayanpatra
  • 5,627
  • 13
  • 51
  • 60
1
vote
3 answers

Split two files

I have combined two files in android, using this Linux command cat file1.png file2.zip > file3.png How can I split two files again?I just want the zip file to be retrieved separately. Is there any specific command?I've tried these codes: unzip…
pooyathr
  • 56
  • 1
  • 5
1
vote
1 answer

How to unrar all RAR files in a folder to a specific target folder?

I have a file batch to unrar all RAR files in a folder into a subfolder. C:\test\sub-folder\file.rar -> C:\test\sub-folder\fileunrar But when I run it, the file is unpacked to the base folder: C:\test\sub-folder\file.rar -> C:\test\fileunrar This…
Alexandr Pato
  • 21
  • 1
  • 1
  • 2
1
vote
1 answer

Unrar file from archive that starts with a dash

How do you extract a single file from a rar archive that starts with a dash? e.g. the archive listing looks like: -= foo =-.jpg -= bar =-.jpg I've tried unrar e archive.rar ./-= foo =-.jpg and unrar e archive.rar "./-= foo =-.jpg" but unrar…
N Klosterman
  • 1,231
  • 14
  • 23
1
vote
1 answer

Possible EOL issue during unrar?

I have large CSV file that I have compressed with WINRAR in windows 8. After uploading the file to Centos 7 x64 on my VPS, I used unrar. The file is exactly the same size as it should be after being uncompressed but when I run my import script…
Asa Carter
  • 2,207
  • 5
  • 32
  • 62
1
vote
4 answers

Linker error Unrar4iOS framework

I have added Unrar4iOS framework and getting below linker error. How to fix this? duplicate symbol __Z12CallbackProcjlll in: …
DimonDeveloper
  • 137
  • 1
  • 13
1
vote
4 answers

Get the results from system() and store in variable?

I'm running this script: $output = "unrar x -y ".$number.".rar /bundle/"; echo "
";
system($output);
echo "
"; Which is outputting Extracting /var/www/html/bundle/Compressed_file_test/lgc-m.r29 0% 1% 2% OK I want to figure…
Exoon
  • 1,513
  • 4
  • 20
  • 35
1
vote
3 answers

How to extract only one kind of file from the archive?

Given a .zip or .rar archive containing 10 files, each with different extensions. Given I only want the .jpg file in it. How to extract the *.jpg in it without having to extract the 9 other files ?
Hugolpz
  • 17,296
  • 26
  • 100
  • 187
1
vote
1 answer

How to detect error code for extraction with wrong password at the beginning

I am working on a brute force attack like software (a .bat file), which will try to extract a file, with some predefined passwords. My algorithm is somehow like this: - "C:\Program Files\WinRAR\WinRAR.exe" x -inul -ppassword1 "path to my rar file"…
Deb
  • 5,163
  • 7
  • 30
  • 45
1
vote
1 answer

Scripting: get number of root files in RAR archive

I'm trying to write a bash script that determines whether a RAR archive has more than one root file. The unrar command provides the following type of output if I run it with the v option: [...@... dir]$ unrar v my_archive.rar UNRAR 4.20 freeware …
Toerndev
  • 715
  • 1
  • 6
  • 21
1
vote
3 answers

Write once, run anywhere languages & Unrar for AIR

I wanted to ask if there are any other Write Once, run anywhere languages like Java or AIR. I have mostly been a Java developer up till now, and a bit of Python and recently AIR has peaked my interest as I just found out about it. Also I wanted to…
user208018
1
vote
1 answer

Unzip and unrar to MemoryStream

My app loads RAR/ZIP archives that contain a large number of images and displays a thumbnail in a Listbox. I'm using SevenZipSharp at the moment. Afaik it only supports dumping individual files to disk - which I'll have to do for each image to get a…
1
vote
1 answer

How to Programmatically Open RAR File with Password using Java (or other language)

How do you open a RAR file and enter the password programmatically? I'd like to use Java or Python if possible, but any programming language should be fine.
Carrotlord
  • 29
  • 2
  • 5