Sponsored Content
Full Discussion: Rar files
Top Forums UNIX for Beginners Questions & Answers Rar files Post 303036864 by abdossamad2003 on Monday 15th of July 2019 04:21:45 AM
Old 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

extracting .rar files

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

how to extract a .rar file

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

How can i open rar files

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

extract rar/zip files from pc DIRECTLY on xbox (FTP)

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

How to open RAR files?

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

Help with rar

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

Searching for a string in .PDF files inside .RAR & .ZIP archives.

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

Extract .rar format files in 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

Extract .rar format files in 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

Unzip a .rar file

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
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)
All times are GMT -4. The time now is 01:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy