Problem installing rar and unrar

 
Thread Tools Search this Thread
Operating Systems Linux Fedora Problem installing rar and unrar
# 8  
Old 03-19-2012
In any case, find doesn't work that way. You were looking for the exact name there. Find supports wildcards, as long as they are in single quotes.

Code:
find ~/ -name '*.iso'

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to install unrar?

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

2. Shell Programming and Scripting

unrar files

Hi, I have two .rar files on unix server. but how to unrar these files ?? (6 Replies)
Discussion started by: milink
6 Replies

3. Shell Programming and Scripting

unrar - get the name of extracted file

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

4. Solaris

unrar doesn't seem to install properly

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

5. Shell Programming and Scripting

Simple unrar script

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

6. Shell Programming and Scripting

unrar multiple files with password

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

7. Solaris

Solaris 10,audio don't work and unrar needed

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

8. UNIX for Dummies Questions & Answers

Unrar Multiple Files with Command

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

9. UNIX for Dummies Questions & Answers

unrar on MPRAS (UNIX)

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

10. UNIX Desktop Questions & Answers

file zip,rar,tar,compress,uncompress,unzip,unrar

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
Login or Register to Ask a Question
RAR_OPEN(3)								 1							       RAR_OPEN(3)

RarArchive::open - Open RAR archive

       Object oriented style (method):

SYNOPSIS
publicstatic RarArchive RarArchive::open (string $filename, [string $password = NULL], [callable $volume_callback = NULL]) DESCRIPTION
Procedural style: RarArchive rar_open (string $filename, [string $password = NULL], [callable $volume_callback = NULL]) Open specified RAR archive and return RarArchive instance representing it. Note If opening a multi-volume archive, the path of the first volume should be passed as the first parameter. Otherwise, not all files will be shown. This is by design. PARAMETERS
o $filename - Path to the Rar archive. o $password - A plain password, if needed to decrypt the headers. It will also be used by default if encrypted files are found. Note that the files may have different passwords in respect to the headers and among them. o $volume_callback - A function that receives one parameter - the path of the volume that was not found - and returns a string with the correct path for such volume or NULL if such volume does not exist or is not known. The programmer should ensure the passed function doesn't cause loops as this function is called repeatedly if the path returned in a previous call did not correspond to the needed volume. Specifying this parameter omits the notice that would otherwise be emitted whenever a volume is not found; an implementation that only returns NULL can therefore be used to merely omit such notices. Warning Prior to version 2.0.0, this function would not handle relative paths correctly. Use realpath(3) as a workaround. RETURN VALUES
Returns the requested RarArchive instance or FALSE on failure. CHANGELOG
+--------+-----------------------------+ |Version | | | | | | | Description | | | | +--------+-----------------------------+ | 3.0.0 | | | | | | | $volume_callback was added. | | | | +--------+-----------------------------+ EXAMPLES
Example #1 Object oriented style <?php $rar_arch = RarArchive::open('encrypted_headers.rar', 'samplepassword'); if ($rar_arch === FALSE) die("Failed opening file"); $entries = $rar_arch->getEntries(); if ($entries === FALSE) die("Failed fetching entries"); echo "Found " . count($entries) . " files. "; if (empty($entries)) die("No valid entries found."); $stream = reset($entries)->getStream(); if ($stream === FALSE) die("Failed opening first file"); $rar_arch->close(); echo "Content of first one follows: "; echo stream_get_contents($stream); fclose($stream); ?> The above example will output something similar to: Found 2 files. Content of first one follows: Encrypted file 1 contents. Example #2 Procedural style <?php $rar_arch = rar_open('encrypted_headers.rar', 'samplepassword'); if ($rar_arch === FALSE) die("Failed opening file"); $entries = rar_list($rar_arch); if ($entries === FALSE) die("Failed fetching entries"); echo "Found " . count($entries) . " files. "; if (empty($entries)) die("No valid entries found."); $stream = reset($entries)->getStream(); if ($stream === FALSE) die("Failed opening first file"); rar_close($rar_arch); echo "Content of first one follows: "; echo stream_get_contents($stream); fclose($stream); ?> Example #3 Volume Callback <?php /* In this example, there's a volume named multi_broken.part1.rar * whose next volume is named multi.part2.rar */ function resolve($vol) { if (preg_match('/_broken/', $vol)) return str_replace('_broken', '', $vol); else return null; } $rar_file1 = rar_open(dirname(__FILE__).'/multi_broken.part1.rar', null, 'resolve'); $entry = $rar_file1->getEntry('file2.txt'); $entry->extract(null, dirname(__FILE__) . "/temp_file2.txt"); ?> SEE ALSO
rar:// wrapper. PHP Documentation Group RAR_OPEN(3)