09-23-2011
Hi,
I could able to get one solution over net, in which it mentions to install "rar" utility and then copy "rar" as well as "unrar" to /bin directory, after that run the below command.
unrar e file.rar
But didnt worked out. m I missing any step over here ??
can anybody help me out please ??
Regards
10 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
i want know how to compress and uncompress file using unix,
compress uncompress,zip,unzip,rar,unrar,how its work and more about this.:confused: (1 Reply)
Discussion started by: ismael xavier
1 Replies
2. UNIX for Dummies Questions & Answers
I am wanting to compile unrar on our MPRAS UNIX system. The currently available source (from www.rarlab.com) does not support this system and I am not sure how to configure the makefile to work.
Has anyone been able to get this to work on MPRAS and can supply me with some direction?
Thanks... (0 Replies)
Discussion started by: Mr C
0 Replies
3. UNIX for Dummies Questions & Answers
I work with multiple archive files, mostly rar. I understand the basics of rar and zip. I'm looking for a way to decompress multiple rar files with a single command. Hopefully each file would be unrared into dir with same name as archive. I normally just do this manually, but sometimes I'm... (2 Replies)
Discussion started by: dobbs
2 Replies
4. Solaris
Hi,
I'm here again for newbie questions :)
I've installed Solaris 10 but audio don't work.I've a Realtek integrated peripheral,listed in Sun Hcl.The volume control is ok also.But nothing came from speakers.
I need to install unrar also,I've download it from here Freeware for Solaris with... (1 Reply)
Discussion started by: bgf0
1 Replies
5. Shell Programming and Scripting
The problem: how to unrar multiple rar files with known password
This works fine:
but how to/what to implement to prevent asking me for password each time
Have tried:
but it wont work.
Any help appreciated. (2 Replies)
Discussion started by: vampirex
2 Replies
6. Shell Programming and Scripting
I am not a programer so I need a litle help here.
On linux I have installed unrar.
What I need is a script which will unrar all rar files in folders and subfolders and subfolders of subfolders, then check this files which are unpacked and then delete this rar files if check is ok.
If someone can... (2 Replies)
Discussion started by: blisk
2 Replies
7. Solaris
Hi,
I downloaded unrar from sun-freeware website (unrar-3.68-sol8-sparc-local.gz). After gunzip, I then did:
install -c /usr/local unrar-3.68-sol8-sparc-local
I'm not sure if that was right. Am I installing it correctly?
Hope you can help as I need to open .rar files immediately.
... (4 Replies)
Discussion started by: daytripper1021
4 Replies
8. Shell Programming and Scripting
If I have a script that is using
unrar e file.part1.rar
How does the script get the name of the extracted file if I don't know the extension of the file?
In my example the name would be file.***, but I wouldn't know the extension.
---------- Post updated at 05:13 PM ---------- Previous... (0 Replies)
Discussion started by: locoroco
0 Replies
9. Fedora
Good day all,
I am trying to install rar and unrar on fedora 16.
In terminal root, when I try to do :
# cp rar unrar /bin
I get the following error message:
cp: cannot stat `rar': No such file or directory
cp: cannot stat `unrar': No such file or directory
can anyone please... (7 Replies)
Discussion started by: peter_071
7 Replies
10. UNIX for Dummies Questions & Answers
I need to extract a ,rar file and getting the below error while using
unrar e filename.rar
error: ksh: unrar: not found.
I guess I need to install unrar. please let me know how to install unrar.
my os is -
SunOS e08k24 5.10 Generic_141444-09 sun4u sparc SUNW,Sun-Fire-880 (1 Reply)
Discussion started by: lohithsunny
1 Replies
LEARN ABOUT PHP
rar_entry_get
RAR_ENTRY_GET(3) 1 RAR_ENTRY_GET(3)
RarArchive::getEntry - Get entry object from the RAR archive
Object oriented style (method):
SYNOPSIS
public RarEntry RarArchive::getEntry (string $entryname)
DESCRIPTION
Procedural style:
RarEntry rar_entry_get (RarArchive $rarfile, string $entryname)
Get entry object (file or directory) from the RAR archive.
Note
You can also get entry objects using RarArchive::getEntries.
Note that a RAR archive can have multiple entries with the same name; this method will retrieve only the first.
PARAMETERS
o $rarfile
- A RarArchive object, opened with rar_open(3).
o $entryname
- Path to the entry within the RAR archive.
Note
The path must be the same returned by RarEntry::getName.
RETURN VALUES
Returns the matching RarEntry object or FALSE on failure.
EXAMPLES
Example #1
Object oriented style
<?php
$rar_arch = RarArchive::open('solid.rar');
if ($rar_arch === FALSE)
die("Could not open RAR archive.");
$rar_entry = $rar_arch->getEntry('tese.txt');
if ($rar_entry === FALSE)
die("Could get such entry");
echo get_class($rar_entry)."
";
echo $rar_entry;
$rar_arch->close();
?>
The above example will output something similar to:
RarEntry
RarEntry for file "tese.txt" (23b93a7a)
Example #2
Procedural style
<?php
$rar_arch = rar_open('solid.rar');
if ($rar_arch === FALSE)
die("Could not open RAR archive.");
$rar_entry = rar_entry_get($rar_arch, 'tese.txt');
if ($rar_entry === FALSE)
die("Could get such entry");
echo get_class($rar_entry)."
";
echo $rar_entry;
rar_close($rar_arch);
?>
SEE ALSO
RarArchive::getEntries, rar:// wrapper.
PHP Documentation Group RAR_ENTRY_GET(3)