EzDevInfo.com

rar.js

Pure-JavaScript RAR reader using AJAX, File API & local access

Why .RAR file contains different files with the same name

I got a .RAR file which contains different files with the same name.

For example,

index.txt 40 Text Document 04/01/2010 4:40PM
index.txt 22 Text Document 04/01/2010 4:42PM
index.txt 10 Text Document 04/01/2010 4:45PM
index.txt 13 Text Document 04/01/2010 4:50PM

Why?


Source: (StackOverflow)

How to check rar install or not in linux via Bash Script?

How to check rar unrar installed or not in Linux via Bash Script ?


Source: (StackOverflow)

Advertisements

unraring/unzipping a file using python+django

I'm trying to write a distributable web app that will allow the user to upload a compressed archive (rar or zip), extract it on the server side, then do something else with the files. Is there a default library I can hook into to do this? Or is there a way to package an external library with the web app so the end user doesn't have to install that package themselves?


Source: (StackOverflow)

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.


Source: (StackOverflow)

How to extract a password protected .rar file in java? [duplicate]

Possible Duplicate:
RAR archives with java

In a java project I am working on I need to extract a .rar file that is password protected. I do know the password. Does anybody know of a free API that does this?


Source: (StackOverflow)

Unrar archive with folders in Debian?

I have the task: I have the Windows-made rar-archive (folders, files in it and so on), that via FTP was copied to Linux server. I want to unrar this archive to keep the file structure as it was in Windows - with folder.

rar у my_archivive

works, but I have just the list of files without folders.

How to do it ?

Thanks.


Source: (StackOverflow)

.rar, .zip files MIME Type

I'm developing a simple php upload script, and users can upload only ZIP and RAR files.

What MIME types I should use to check $_FILES[x][type]? (a complete list please)

Thank you..


Source: (StackOverflow)

RAR archives with java [closed]

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


Source: (StackOverflow)

Is it possible to download just part of a ZIP archive (e.g. one file)?

I was wondering is there any way by which I can download only a part of a .rar or .zip file without downloading the whole file ? There is a zip file containing files A,B,C and D. I only need A. Can I somehow, tweak the download to download only A or if possible extract the file in the server itself and get A only ?


Source: (StackOverflow)

Read content of RAR files using C#

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.


Source: (StackOverflow)

How to determine compression method of a ZIP/RAR file

I have a few zip and rar files that I'm working with, and I'm trying to analyze the properties of how each file was compressed (compression level, compression algorithm (e.g. deflate, LZMA, BZip2), dictionary size, word size, etc.), and I haven't figured out a way to do this yet.

Is there any way to analyze the files to determine these properties, with software or otherwise?

Cheers and thanks!


Source: (StackOverflow)

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 version 3 introduced any significant changes to the file format itself?


Source: (StackOverflow)

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 cross platform (Windows/Linux) if possible, but Linux is a must. Just as importantly, if you're going to point out a library to handle this for me, please understand that it must be free (as in beer) or OSS.


Source: (StackOverflow)

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("-p\"{0}\"", passWord));

The GUI version can extract zip and 7z files. Why cant this? How can i extract zip and 7z files? (NOTE: I have different source code for 7zip. I guess i can merge the two and only use the above when the file has a rar extension. But i dont like that solution)


Source: (StackOverflow)

how to programmatically extract or unzip a .7z (7-zip) file with R

I'm trying to automate the extraction of a number of files compressed with 7-zip. I need to automate this process, because a) there are many years of data I'd like to unlock and b) I'd like to share my code with others and prevent them from repeating the process by hand.

I have both WinRAR and 7-zip installed on my computer, and I can individually open these files easily with either program.

I've looked around at the unzip untar and unz commands, but I don't believe any of them do what I need.

I don't know anything about compression, but if it makes any difference: each of these files only contains one file and it's just a text file.

I would strongly prefer a solution that does not require the user to install additional software (like WinRAR or 7-Zip) and execute a command with shell, although I acknowledge this task might be impossible with just R and CRAN packages. I actually believe running shell.exec on these files with additional parameters might work on computers with WinRAR installed, but again, I'd like to avoid that installation if possible. :)

Running the code below will load the files I am trying to extract -- the .7z files in files.data are what needs to be unlocked.

# create a temporary file and temporary directory, download the file, extract the file to the temporary directory
tf <- tempfile() ; td <- tempdir()
file.path <- "ftp://ftp.ibge.gov.br/Orcamentos_Familiares/Pesquisa_de_Orcamentos_Familiares_2008_2009/Microdados/Dados.zip"
download.file( file.path , tf , mode = "wb" )
files.data <- unzip( tf , exdir = td )

# how do i unzip ANY of these .7z files?
files.data

Thanks!!! :)


Source: (StackOverflow)