Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/melezhik/sparrowdo-archive
Extract archived files with the help of various archivers programs.
https://github.com/melezhik/sparrowdo-archive
raku sparrow
Last synced: about 2 months ago
JSON representation
Extract archived files with the help of various archivers programs.
- Host: GitHub
- URL: https://github.com/melezhik/sparrowdo-archive
- Owner: melezhik
- Created: 2016-08-26T09:51:22.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-03-04T19:34:52.000Z (almost 5 years ago)
- Last Synced: 2024-11-05T21:49:58.431Z (3 months ago)
- Topics: raku, sparrow
- Language: Raku
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
Awesome Lists containing this project
README
# SYNOPSIS
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 |
+-----------+---------------------------+# Build Status
[![Build Status](https://travis-ci.org/melezhik/sparrowdo-archive.svg?branch=master)](https://travis-ci.org/melezhik/sparrowdo-archive)
# INSTALL
$ zef install Sparrowdo::Archive
# USAGE
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,
);
# Parameters
## source
A local file path to archived file.
Obligatory. No default.
## target
A local file path where to store extracted archive data. No default value. Obligatory.
## userA user which run a archive program and thus to which user extracted files will belong to.
Optional. No default value.
## no-install-deps
Don't install dependencies ( tar/gzip package, etc ).
Optional.
## verbose
Try to run archive extractor program in verbose mode. Default value is `0` ( no verbose ).
Optional.
# Author
[Alexey Melezhik]([email protected])