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
2
votes
2 answers

Extracting multiple files into their respective directories in windows

I'm posting this question after extensive searches did not yield a solution to my problem. Here's the problem: I have a folder in windows, with multiple sub folders. Each of them has 1 or more compressed (rar)…
2
votes
2 answers

Batch Unrar after check file extension

i am trying to Unrar 400 files via batch script. in my folder files mixed with videos some file name is "love.blood.repack.mp4" i have add .r for find rar file in my script but script show with videos file like "love.blood.repack.mp4" how to check…
Sonia
  • 107
  • 7
2
votes
1 answer

UnRar Library For iPhone-Password Protected Rar Files

Do anyone knows how to extract password protected files using unRar4ios library? I do my best to figure out the same. But failed. In the cpp wrapper class of unRar4ios the author didn't implemented the function for extracting rar files that are…
Mathew Varghese
  • 4,527
  • 2
  • 17
  • 26
1
vote
1 answer

How to acquire extracted directory using pyUnrar2?

I'm using pyUnrar2 to batch extract rar files, what I would like to acquire is the name of the directory that the files reside in once extracted ?
Parth
  • 1,226
  • 7
  • 28
  • 49
1
vote
1 answer

Doing a deep unrar of an archive using the unrar command in Linux

I use the following command to unrar all files in a rar-acrhive to a directory unrar x -ep -y archive.rar folder It works great and it ignores the directory structure inside the archive which is just what I want. How do I make it unrar all rar…
Tike
  • 387
  • 1
  • 2
  • 10
1
vote
1 answer

perl unrar files

I would like perl to unrar files from a folder I specify and after delete the rared files so they dont use HDD space. Files can be in this format: (r(ar|[0-9][0-9])|sfv) I have unrar installed and I`m new to PERL so please be specific if I need to…
Treat
  • 182
  • 1
  • 6
  • 15
1
vote
0 answers

get a list of elements into the *.rar file in Linux

I want to get a list of elements (files and folders) that are into the *.rar file. I have a folder with a lot of *.rar files, each of *.rar have folders and files, I would to get a list of name of these folders. I build this…
Wilson Souza
  • 830
  • 4
  • 12
1
vote
1 answer

How to unrar files

I am trying to unrar files uploaded by users in django web application. I have gone through different approaches but none of them are working for me. The below methods work fine in my local OS (Ubuntu 18.04), but n't working in the server. I am…
gowthz
  • 400
  • 2
  • 8
  • 22
1
vote
1 answer

PatoolError Python: problem in unpacking .rar file

I can't unpack a .rar file using patoolib in Python. I always get the error message: PatoolError: could not find an executable program to extract format rar; candidates are (rar,unrar,7z), I'm using macOS, Anaconda Navigator with Spyder IDE, and I…
nicc96
  • 313
  • 2
  • 16
1
vote
3 answers

A bash script to unrar all files in a sub directory in linux

I'm on Ubuntu server 18.04. My main goal is to run a script from a parent directory which unrars all the files inside all sub directories of the parent directory. I have also installed apt install unrar and it is located at "/usr/bin/unrar". This is…
1
vote
2 answers

How To Extract Password Protected Rar File Using Patool On Google Colab

I have installed patool on Google Colab. The patool command works file with: patoolib.extract_archive("/content/drive/My Drive/File_name.part1.rar", outdir="/content/drive/My Drive/Folder/")` After it's sucessfully finished, it has extracted 10…
1
vote
3 answers

C#: How to use unrar.dll & unrar.cs from rarlab to extract a split archive?

I've downloaded the unrar.dll for Windows software developers from rarlab.com, included the unrar.dll and the class of unrar.cs into my C# WPF project. It extracts single archives (even with password set): string source =…
tar
  • 156
  • 2
  • 13
1
vote
1 answer

How note a wrong password with Python's UnRAR library?

The following code (which tries to “open” an encrypted RAR-file supplying a wrong password): from unrar import rarfile import unrar try: rarfile.RarFile("encrypted.rar", pwd="wrong_password") except Exception as e: print(type(e)) …
viuser
  • 953
  • 6
  • 19
1
vote
1 answer

Loop doesn't unrar my files... Code doesn't enter into the loop

Morning Everybody, I've a problem concerning my code. I'll explain, I've a connexion to a local FTP server on my linux instance. I would like to explore all my directories to unrar my files ".rar" but when I'm launching my script, there is just the…
1
vote
0 answers

Combining find and unrar commands

I was trying to combine find and unrar commands in macOS but I got some strange results. The command was: find /Users/priit/Downloads/Show/ -name "*.rar" -execdir unrar -r -o- "{}" /users/priit/Movies \; By running the command I started to get weird…
AeroZ
  • 11
  • 4