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)
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)
Hi,
I am having couple of files which i used to copy from windows to Linux, so now in case of text files (CTRL^M) appears at end of line. I know i can convert this windows format file to unix format file by running dos2unix.
My requirement here is that i want to do it automatically using a... (5 Replies)
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)
Hi
I have a requirement in unix shell where I need to zip multiple files on server to one single .zip file. I dont see zip command in AIX and gzip command not doing completely what I want.
One I do .zip file, I should be able to unzip in my local Computer.
Here is example what I want... (9 Replies)
Hi folks,
In my application there is a job running which create a .dat file along with it zip file also at unix box location /opt/app/cvf/temp1
so in temp1 directory I have one .dat file and its zip file also.
Now since this job runs every day so if a job runs today there will be two files... (5 Replies)
Hi
I have script to collect file system usage statistics from few remote unix hosts and email . On the UNIX system the column spacing is fine but the email output is not aligned properly. Any tips to fix this ? (1 Reply)
Discussion started by: new2prog
1 Replies
LEARN ABOUT PHP
rar_close
RAR_CLOSE(3) 1 RAR_CLOSE(3)RarArchive::close - Close RAR archive and free all resources
Object oriented style (method):
SYNOPSIS
public bool RarArchive::close (void )
DESCRIPTION
Procedural style:
bool rar_close (RarArchive $rarfile)
Close RAR archive and free all allocated resources.
PARAMETERS
o $rarfile
- A RarArchive object, opened with rar_open(3).
RETURN VALUES
Returns TRUE on success or FALSE on failure.
CHANGELOG
+--------+---------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------------+
| 2.0.0 | |
| | |
| | The RAR entries returned by RarArchive::getEntry |
| | and RarArchive::getEntries are now invalidated |
| | when calling this method. This means that all |
| | instance methods called for such entries and not |
| | guaranteed to succeed. |
| | |
+--------+---------------------------------------------------+
EXAMPLES
Example #1
Object oriented style
<?php
$rar_arch = RarArchive::open('latest_winrar.rar');
echo $rar_arch."
";
$rar_arch->close();
echo $rar_arch."
";
?>
The above example will output something similar to:
RAR Archive "D:php_rar runk estslatest_winrar.rar"
RAR Archive "D:php_rar runk estslatest_winrar.rar" (closed)
Example #2
Procedural style
<?php
$rar_arch = rar_open('latest_winrar.rar');
echo $rar_arch."
";
rar_close($rar_arch);
echo $rar_arch."
";
?>
PHP Documentation Group RAR_CLOSE(3)