07-15-2019
Rar files
hi unix expert
is there any program in linux to compress files or directory with rar (.rar)?
i am using centos 7
many thanks
samad
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
Can someone throw light on opening a .rar file?
thanks,
sskb (5 Replies)
Discussion started by: sskb
5 Replies
2. UNIX for Dummies Questions & Answers
Hi !
I have a abc.rar file.
I want to extract this file.. pls help.
OS Details :
SunOS papillon 5.10 Generic_127111-11 sun4us sparc FJSV,GPUZC-M (1 Reply)
Discussion started by: dashok.83
1 Replies
3. UNIX for Dummies Questions & Answers
Is there a way to open rar files on linux
i would really appretiate if u would help
:) (2 Replies)
Discussion started by: abu_malek
2 Replies
4. UNIX for Dummies Questions & Answers
Hello
I've an old xbox connected to Ubuntu 8.04 with an ethernet cable.
I use gFTP to transfer files on xbox (through FTP).
When I have to transfer a rar file, first of all I have to extract it on ubuntu, then on xbox.
I would like to transfer rar files directly on xbox. Is it possible with... (4 Replies)
Discussion started by: paolobitta
4 Replies
5. Red Hat
May be this is a newbie question but i want to know hoe to open the RAR file in linux? (1 Reply)
Discussion started by: ashok.g
1 Replies
6. UNIX for Dummies Questions & Answers
Hi UNIX experts,
I am stuck on a task due to ignorance with bash and all those commands.
I have thousand of split archive files on a folder called downloads
Each file is named as below:
0001.part1.rar
0001.part2.rar
0001.part3.rar
0002.part1.rar
0002.part2.rar
0003.par1.rar... (5 Replies)
Discussion started by: farneville
5 Replies
7. Shell Programming and Scripting
Hi,
I have got a large number of .PDF files that are archived in .RAR & ZIP files in various directories and I would like to search for strings inside the PDF files.
I would think you would need something that can recursively read directories, extract the .RAR/.ZIP file in memory, read the... (3 Replies)
Discussion started by: lewk
3 Replies
8. Solaris
Hi All,
Is there way to extract the .rar format files in Solaris
Thanks,
Mani Muthu (3 Replies)
Discussion started by: k_manimuthu
3 Replies
9. Red Hat
Hi All,
Is there way to extract the .rar format files in red hat server.
Thanks,
Mani Muthu (1 Reply)
Discussion started by: k_manimuthu
1 Replies
10. UNIX for Dummies Questions & Answers
Hi,
How to unzip a .rar file in unix.
I tried unrar command but it doesnt work.
Any help will be appreciated
Thanks (10 Replies)
Discussion started by: irudayaraj
10 Replies
LEARN ABOUT PHP
rar_broken_is
RAR_BROKEN_IS(3) 1 RAR_BROKEN_IS(3)
RarArchive::isBroken - Test whether an archive is broken (incomplete)
Object oriented style (method):
SYNOPSIS
public bool RarArchive::isBroken (void )
DESCRIPTION
Procedural style:
bool rar_broken_is (RarArchive $rarfile)
This function determines whether an archive is incomplete, i.e., if a volume is missing or a volume is truncated.
PARAMETERS
o $rarfile
- A RarArchive object, opened with rar_open(3).
RETURN VALUES
Returns TRUE if the archive is broken, FALSE otherwise. This function may also return FALSE if the passed file has already been closed.
The only way to tell the two cases apart is to enable exceptions with RarException::setUsingExceptions; however, this should be unnecessary
as a program should not operate on closed files.
EXAMPLES
Example #1
Object oriented style
<?php
function retnull() { return null; }
$file = dirname(__FILE__) . "/multi_broken.part1.rar";
/* Third argument is used to omit notice */
$arch = RarArchive::open($file, null, 'retnull');
var_dump($arch->isBroken());
?>
The above example will output something similar to:
bool(true)
Example #2
Procedural style
<?php
function retnull() { return null; }
$file = dirname(__FILE__) . "/multi_broken.part1.rar";
/* Third argument is used to omit notice */
$arch = rar_open($file, null, 'retnull');
var_dump(rar_broken_is($arch));
?>
SEE ALSO
RarArchive::setAllowBroken.
PHP Documentation Group RAR_BROKEN_IS(3)