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
3
votes
1 answer

Extract .rar file in Vba Excel

I have a vba macro in Excel which download a .rar file from a sharepoint site and extract it. The downloading is working fine, i can see the file downloaded in the folder but extracting the file is not working. I will paste just the part of…
JuniorDev
  • 433
  • 3
  • 14
  • 30
3
votes
1 answer

UnRARing files in Python in OSX

This is driving me nuts, I've looked at & tried a number of the answers here for solving this problem but nothing is working out so far. The basic problem is that I have some 1300+ rar files that I'd like to extract and keep somewhat organized, and…
PixelThis
  • 31
  • 1
  • 2
3
votes
2 answers

How to know which rar is first in multi rar archives using SevenZipSharp/Unrar in C#?

I am trying to use SevenZipSharp or/and Unrar library in C# WinForms .NET 3.5. I have this problem with multi rar archives that have diffrent naming for example: .rar, r01, r02, r03 and so on (this is easy) somefile01.rar, somefile02.rar,…
MadBoy
  • 10,824
  • 24
  • 95
  • 156
3
votes
1 answer

UNRAR in javascript

is there a library to unRAR files? The rar files I have to work with contain multiple files. I'm looking for a way to navigate rar content, and get a blob with the uncompressed content of a selected file within the .rar one. I'm already using…
Alejandro Silvestri
  • 3,706
  • 31
  • 43
2
votes
2 answers

Log output from unrar.exe to a text file (Batch script)

I am writing a batch script that extracts files and would now like to log the output from unrar.exe to a text file. The output I have in mind are things like failure due to corrupted archives etc. or simply that the operation was successful. Any…
adamfinstorp
  • 1,627
  • 3
  • 17
  • 26
2
votes
1 answer

How to unzip .rar with password?

I have a .rar archive that contains a file csv. The .rar has a password and I want to read it with R Studio ( the csv is the only file into the .rar). I tried to do it with the following code: library(Hmisc) getZip("datos/diarios.rar", password =…
2
votes
2 answers

PYTHON - UNRAR : how can I build a thread to monitoring the downloading status

Good Morning, I need some help concerning my script. I'm a beginner in Python and I would like to know how can I add a thread to verifiy my downloading process ? Here my Download Script: class Download: def __init__(self): …
2
votes
0 answers

What is the default size unit of unrar?

I have rar files but want to see the uncompressed size without unraring them. I am using unrar through the command line. I am using unrar v which lists: Attributes Size Packed Ratio Date Time Checksum Name ----------- --------- …
gad74
  • 125
  • 2
  • 13
2
votes
2 answers

Find and Unrar all files

Hi I am working on a script that syncs content from a remote site using SFTP, then extracts any archives. However I am struggling to get the extracted files to the correct (source) directory. I started with a for loop, but was thinking this could…
nitrobass24
  • 371
  • 2
  • 8
  • 21
2
votes
2 answers

How to check if zip or rar file contains 1 or more files?

For the purposes of saving space and organizing, I'm zipping bunch of files in my local and networked folders. They are mainly CAD files, like stp, igs, etc. There are already existing zip files and some are extracted by other users, but the zip…
Ali
  • 73
  • 1
  • 4
2
votes
3 answers

Help debugging a cron job which has the correct script path and works when manually triggered

I'm struggling trying to debug a cron job which isn't working correctly. The cron job calls a shell script which should unrar a rar file - this works correctly when i run the script manually, but for some reason it's not working via cron. I am using…
kenny99
  • 259
  • 6
  • 19
2
votes
1 answer

libunrar RARReadHeader always return ERAR_BAD_DATA

guys, I'm recently working on the libunrar, but got error when I use RAR_OM_LIST option, I can get the first item in the rar file printed, but got ERAR_BAD_DATA afterwards. here's the code: struct RAROpenArchiveData openArcData = { .ArcName…
oxnz
  • 835
  • 6
  • 16
2
votes
1 answer

Recursive unrar and deletion in directory and all subdirectories

I'm trying to work on a script that will crawl my Plex media folder, find any header ".r00" files, extract them in their own directory, and trash the archive zips after it's done. I have two options I've been playing around with. Combined they do…
ztoliver
  • 41
  • 7
2
votes
2 answers

Decompressing rar file in Python error

I am trying to unrar a file using pyunpack but I always get an error. If I use a zip file everything works just fine but with rar files not. This is my code: from pyunpack import…
João Alves
  • 185
  • 1
  • 5
  • 14
2
votes
2 answers

An attribute argument must be a constant expression is there a way around this in C#?

I'm working on a code (WinForms C# NET 3.5) that involves using unrar. [DllImport("UNRAR64.DLL")] private static extern IntPtr RAROpenArchive(ref RAROpenArchiveData archiveData); [DllImport("UNRAR64.DLL")] private static extern…
MadBoy
  • 10,824
  • 24
  • 95
  • 156