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)
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)
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)
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)
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)
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)
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)
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)
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
rararchive.setallowbroken
RARARCHIVE.SETALLOWBROKEN(3) 1 RARARCHIVE.SETALLOWBROKEN(3)RarArchive::setAllowBroken - Whether opening broken archives is allowed
Object oriented style (method):
SYNOPSIS
public bool RarArchive::setAllowBroken (bool $allow_broken)
DESCRIPTION
Procedural style:
bool rar_allow_broken_set (RarArchive $rarfile, bool $allow_broken)
This method defines whether broken archives can be read or all the operations that attempt to extract the archive entries will fail. Bro-
ken archives are archives for which no error is detected when the file is opened but an error occurs when reading the entries.
PARAMETERS
o $rarfile
- A RarArchive object, opened with rar_open(3).
o $allow_broken
- Whether to allow reading broken files ( TRUE) or not ( FALSE).
RETURN VALUES
Returns TRUE or FALSE on failure. It will only fail if the file has already been closed.
EXAMPLES
Example #1
Object oriented style
<?php
function retnull() { return null; }
$file = dirname(__FILE__) . "/multi_broken.part1.rar";
/* Third argument omits "volume not found" message */
$a = RarArchive::open($file, null, 'retnull');
$a->setAllowBroken(true);
foreach ($a->getEntries() as $e) {
echo "$e
";
}
var_dump(count($a));
?>
The above example will output something similar to:
RarEntry for file "file1.txt" (52b28202)
int(1)
Example #2
Procedural style
<?php
function retnull() { return null; }
$file = dirname(__FILE__) . "/multi_broken.part1.rar";
/* Third argument omits "volume not found" message */
$a = rar_open($file, null, 'retnull');
rar_allow_broken_set($a, true);
foreach (rar_list($a) as $e) {
echo "$e
";
}
var_dump(count($a));
?>
SEE ALSO
RarArchive::isBroken.
PHP Documentation Group RARARCHIVE.SETALLOWBROKEN(3)