rar

Regular expression to match only the first file in a RAR file set

To see what file to invoke the unrar command on, one needs to determine which file is the first in the file set. Here are some sample file names, of which - naturally - only the first group should be matched: yes.rar yes.part1.rar yes.part01.rar yes.part001.rar no.part2.rar no.part02.rar no.part002.rar no.part011.rar One (limited) w...

RAR decompression algorithm

I'm looking for the description of an algorithm that can be used to decompress RAR files. I don't need to create new archives, only decompress existing ones. The Wotsit.org has the description of the RAR file format (version 2), but the description does not describe the decompression algorithm. Also, does anyone know whether RAR versio...

RAR archives with java

Hello! Is there a good java API for manipulating RAR archive files someone could recommend? Googling did not turn up anything overwhelmingly convincing... Thanks alot! ...

Rar command - ignore certain folders

I would like to rar a folder but exclude a certain of folders and all the files beneath them - the .svn folder. How could I make this happen using the rar console command (rar.exe)? ...

A bug of rar files?

There can be multiple files with the same file name under the same directory? ...

Read content of RAR files using C#

Well the title says it all. Is there any way to read the content of a RAR file (support for multi-file RAR is a must)? I don't want to extract the content to the disk, just read it like a stream. ...

RAR Each folder in directory.

Hi All, Im only new to liux commands and spend most of my time in VB, after searching the web its hard to find a solution in google. Anyway...... Everyday I backup my Shares folder and ends up being 183 GIG, I tried many ways of backing it up and come to the conclusion that using rar was the best option for my enviroment. So this is th...

Read content of RAR file into memory in Python

I'm looking for a way to read specific files from a rar archive into memory. Specifically they are a collection of numbered image files (I'm writing a comic reader). While I can simply unrar these files and load them as needed (deleting them when done), I'd prefer to avoid that if possible. That all said, I'd prefer a solution that's ...

extracting zip with winrar command line?

While trying to extract zip files i get the error c:/path/name.zip is not RAR archive No files to extract my code is p.StartInfo.FileName = @"C:\Program Files\WinRAR\rar.exe"; p.StartInfo.Arguments = string.Format("x -o- {2} \"{0}\" * \"{1}\"\\ ", szFN, outFolder, passWord == null ? "" : string.Format(...

PHP library that can list contents of zip / rar files

Note: I NEED A LIBRARY not links to documentation about extensions my host doesn't have or want installed. The subject says it all. I don't need to extract any files for the moment (although that might be a nice addition to my web app later) I just need to list the contents of rar and zip archives. ...

Gracefully convert .rar to .zip using Python

I'm currently making system call to "unrar and zip" commands. It interrupts and requires me to enter password while encounter password propected archives. Is it possible to let it run and return a "unsuccessful" value to main program on any error or password prompt? Can we natively use rarfile and zipfile library to do the job without ...

Python Script to backup a directory

#Filename:backup_ver1 import os import time #1 Using list to specify the files and directory to be backed up source = r'C:\Documents and Settings\rgolwalkar\Desktop\Desktop\Dr Py\Final_Py' #2 define backup directory destination = r'C:\Documents and Settings\rgolwalkar\Desktop\Desktop\PyDevResourse' #3 Setting the backup name targetBa...

RAR Decompress on iPhone Device

Has anyone found a solution to decompressing RAR files on iPhone (not Jailbroken)? It would be great if there was a library similar to libz. I did not find anything official from RARlab. Anyone successful with integrating unRAR into their app? The source code appears to be C++? I know that this has been asked before, but I've not see...

Using chilkat to extract RAR files with progress bar?

Hello. Does anyone know how to show the progress of archives extracting, when using chilkat? I already have a progress bar called "progressBar1" on my form. At the moment the whole program freezes when extraction is started. Maybe have another thread? I'm using this code: Chilkat.Rar rar = new Chilkat.Rar(); bool success; success = r...

php (rar) i want to rar a folder using rar on Ubuntu (linux) by php (on dedi server) noob

hey guyz i want rar (not tar) my folder on my server by using php RAR RAR 3.93 Copyright (c) 1993-2010 Alexander Roshal 15 Mar 2010 Registered to my real name OS Ubuntu Release (Karmic) kernel linux 2.6.32.2-xxxx-grs-ipv4-32 Gnome 2.28.1 latest php an lighthttpd i have tried these things http://php.net/ma...

Ruby / rubyzip alternative capable of handling rar/tar/zip/7z?

I was wondering if anyone knows of rubyzip alternatives for Ruby, that can handle various formats in particular zip / rar / 7z? I know of libarchive, but it's not complete for my purposes ( it's a good gem thou). (To clarify, libarchive - won't work for me - cause I need to be able to run in on Windows. ( Yeah I know sucks to be me)) ...

Extracting RAR archive into multiple directories on Windows

Hello, On a Windows box, I need to extract a RAR archive so that individual files in it go into specific directories. I can provide, say, a text file that lists each file and the target directory for it. Then I need help creating a batch file that will actually extract these files into their target locations. Please help. E.g. RAR a...

Minimum memory for RAR decompression

What's the minimum memory needed to run a RAR decompression algorithm? I want to port a RAR decompression algorithm to mobiles (iPhone, Android and BlackBerry) and want to know if there's a bare minimum of memory needed before starting. I've heard that RAR decompression requires much more memory than ZIP decompression. ...

shell script (running via cron) to enter password when prompted

Hi, I have a daily cron task which automatically unrars a rar file and processes it's contents, however, the contents are now password protected so i'm wondering if there's a reliable way to echo the password when prompted? The password prompt comes from the UNRAR program i've installed, running on CentOS. Thanks for any help! ...

Bash script to upload first RAR part to ftp, before completion of second part (To Save Time and space)

Hello, i was making a bash script for my server which pack some directories with RAR and upload it to other ftp server, so some folders are big and i have to rar them in parts and have to wait for all parts to be rared before uploading them, which consumes lots of time and space so i want to do it more fast like, upload every rared par...