View Full Version : .rar-only deflator (Win.)?
codegoboom
09-03-2004, 01:10 AM
Anyone know of a one-trick .rar decompressor that only extracts from .rar, and nothing else (as in not .zip, or anything else but .rar, so only .rar)?
Basscyst
09-03-2004, 01:37 AM
Well, you can use win rar and just associate win rar with rar files. I believe the option comes up when you first run it after install.
Basscyst
liorean
09-03-2004, 02:27 AM
There's a number of free CLI tools from RARSoft. <http://www.rarsoft.com/rar_add.htm>
You might also be interested in unrarlib. <http://www.unrarlib.org/>
codegoboom
09-03-2004, 04:29 AM
Great... that OCX might be scriptable, but is offered for download in a .rar file (WTF?)!
hmm, may have to learn DOS then...
thanks :D
codegoboom
09-03-2004, 04:43 AM
How about the "Command line freeware Windows UnRAR": unrarw32.exe...
can anyone give me a clue about how to use that? I would read the manual, but there isn't one... :confused:
[edit]
I found the instructions after using /k to keep the command win open... :cool:
It would have been cool if they put those in a txt file, so here's that for anyone interested:
UNRAR 3.30 freeware Copyright (c) 1993-2004 Eugene Roshal
Usage: unrar <command> -<switch 1> -<switch N> <archive> <files...>
<@listfiles...> <path_to_extract\>
<Commands>
e Extract files to current directory
l[t,b] List archive [technical, bare]
p Print file to stdout
t Test archive files
v[t,b] Verbosely list archive [technical,bare]
x Extract files with full path
<Switches>
- Stop switches scanning
ac Clear Archive attribute after compression or extraction
ad Append archive name to destination path
ap<path> Set path inside archive
av- Disable authenticity verification check
c- Disable comments show
cfg- Disable read configuration
cl Convert names to lower case
cu Convert names to upper case
dh Open shared files
ep Exclude paths from names
f Freshen files
idp Disable percentage display
ierr Send all messages to stderr
inul Disable all messages
ioff Turn PC off after completing an operation
kb Keep broken extracted files
o+ Overwrite existing files
o- Do not overwrite existing files
ow Save or restore file owner and group
p[password] Set password
p- Do not query password
r Recurse subdirectories
ta<date> Process files modified after <date> in YYYYMMDDHHMMSS format
tb<date> Process files modified before <date> in YYYYMMDDHHMMSS format
tn<time> Process files newer than <time>
to<time> Process files older than <time>
ts<m,c,a>[N] Save or restore file time (modification, creation, access)
u Update files
v List all volumes
ver[n] File version control
vp Pause before each volume
x<file> Exclude specified file
x@ Read file names to exclude from stdin
x@<list> Exclude files in specified list file
y Assume Yes on all queries
codegoboom
09-03-2004, 08:14 PM
Me again...
I was testing out 'unrar.exe' with switches for excluding files, and they seem to work backward...
The instructions say: "x<file> Exclude specified file"; so I go ["unrar e file.rar x filename.foo"], and it only extracts 'filename.foo', excluding all others.
What's up with that?
liorean
09-03-2004, 08:18 PM
<files> specifies what files you want to extract from the archive. So, if you specify a single file it will extract a single file.
codegoboom
09-03-2004, 08:27 PM
Ah, thanks.
Anyone know the difference between these two, if any:
x@ Read file names to exclude from stdin
x@<list> Exclude files in specified list file
if I use "x@ filename.foo filename.bla" that would be 'Exclude files in specified list file'; so would "x@" by itself be the other one?
codegoboom
09-06-2004, 01:43 PM
found a User's Manual... now I can stop guessing. :D
http://www.darkshire.org/~jhkim/src/rar/rar.txt
vBulletin® v3.8.2, Copyright ©2000-2010, Jelsoft Enterprises Ltd.