Help language development. Donate to The Perl Foundation
Extract archived files with the help of various archivers programs.
Archive formats supported:
+-----------+---------------------------+
| extension | internal archive program |
+-----------+---------------------------+
| *.zip | unzip |
| *.tar | tar |
| *.tar.gz | tar |
| *.gem | gem |
+-----------+---------------------------+
$ zef install Sparrowdo::Archive
Through cli
s6 --module-run Archive@source=test.tar.gz,target=/tmp/foo2,verbose=1
Through Sparrow6 DSL
module-run 'Archive', %(
source => '/tmp/foo/test.tar.gz',
target => '/tmp/foo2',
verbose => 1,
);
A local file path to archived file.
Obligatory. No default.
A local file path where to store extracted archive data. No default value. Obligatory.
A user which run a archive program and thus to which user extracted files will belong to.
Optional. No default value.
Don't install dependencies ( tar/gzip package, etc ).
Optional.
Try to run archive extractor program in verbose mode. Default value is 0
( no verbose ).
Optional.