rayvova.blogg.se

Winrar linux command
Winrar linux command








winrar linux command

You can use a scalar value or an array reference. Adding the -excludepaths option and setting it to true, the pathnames will be excluded and a simple basename of the listed files will be returned. Returns an array with the file contents list that was previously generated using List(). Prints the file contents list that was previously generated using List() to STDOUT. Returns 0 on success or a numerical error code.

winrar linux command

List(%options)įill the 'list' variable of the object whith the index of an archive. Extract(%options)Įxtract the contains of an archive.

WINRAR LINUX COMMAND RAR

It is a lower-level interface to the rar command, but it does some things in a safer way than this module (namely shell escaping or lack thereof).Īt the moment these methods are implemented: new() Have a look at the Archive::Rar::Passthrough module that is part of this distribution. Note: There are a few things that have gone awry. Locates the rar command (from PATH or from regedit for Win32) and encapsulate it to create, extract and list rar archives. This is a module for the handling of rar archives. Print "Error $res in extracting from $archive\n" if ( $res ) DESCRIPTION My $res = $rar->Extract(-donotoverwrite => 1, -quiet => 1 ) To list archived files: use Archive::Rar Print "Error $res in extracting from $archive\n" if ( $res ) My $rar = Archive::Rar->new( -archive => $archive ) files => extract files from archive: use Archive::Rar

winrar linux command

Archive::Rar - Interface with the 'rar' command SUPPORTED PLATFORMS










Winrar linux command