Sponsored Content
Full Discussion: extracting .rar files
Top Forums UNIX for Dummies Questions & Answers extracting .rar files Post 21170 by sskb on Sunday 12th of May 2002 11:38:58 PM
Old 05-13-2002
Thanks for the info.. but i get the following error.. Am i missing something?

$unrar travis05.rar
/bin/sh/unrar: Not a directory.

Thanks,
sskb
sskb
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. Shell Programming and Scripting

Extracting/condensing text from multiple files to multiples files

Hi Everyone, I'm really new to all this so I'm really hoping someone can help. I have a directory with ~1000 lists from which I want to extract lines from and write to new files. For simplicity lets say they are shopping lists and I want to write out the lines corresponding to apples to a new... (2 Replies)
Discussion started by: born2phase
2 Replies

8. Shell Programming and Scripting

Extracting specific files from multiple .tgz files

Hey, I have number of .tgz files and want to extract the file with the ending *results.txt from each one. I have tried for file in *.tgz; do tar --wildcards -zxf $file *results.txt; doneas well as list=$(ls *.tgz) for i in $list; do tar --wildcards -zxvf $i *.results.txt; done... (1 Reply)
Discussion started by: jfern
1 Replies

9. Shell Programming and Scripting

How to get CRC check sum of files in java EAR file without extracting .jar/.war files to disk.?

unzip -v gives CRC info of each file in a zip(in my case .EAR) file. # unzip -v my-application.ear Archive: my-application.ear Length Method Size Cmpr Date Time CRC-32 Name -------- ------ ------- ---- ---------- ----- -------- ---- 197981 Defl:N 183708 7%... (1 Reply)
Discussion started by: kchinnam
1 Replies

10. UNIX for Beginners Questions & Answers

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 (1 Reply)
Discussion started by: abdossamad2003
1 Replies
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)
All times are GMT -4. The time now is 01:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy