A small command line utility to help extract compressed archives.
Project description
simple_extract
Simple File Extraction
Description
A small command line file extraction utility written in Python. It uses external tools to optionally fetch from a url and decompress archives.
Getting started
Python 3.6+ needed. Tested with 3.9
External tools that can be used:
* tar
* gzip
* bzip2
* unrar
* lha
* 7z
* unzip
* rpm2cpio
* cpio
* ar
* xz
* zstd
* curl
* wget
* fetch
Installing
* clone the git repository from https://github.com/berrym/simple_extract.git
or:
* python -m pip install simple-extract
or:
* python -m pip install --user simple-extract
Executing program
* python simple_extract.py some-archive.tar.gz some-other-archive.lzma
or if installed via pip:
* simple-extract https://github.com/ibara/mg/releases/download/mg-6.8.1/mg-6.8.1.tar.gz
Authors
Copyright 2021 Michael Berry trismegustis@gmail.com
Version History
- 0.1.0
- Initial Release
- 0.1.1
- Change the way paths are handled if stdout is used
- 0.1.2
- Updated setup.py
- 0.1.3
- Fixed setup.py issue preventing proper builds
- 0.1.4
- Added a simple noclobber option for non piped commands
- 0.1.5
- Added a command line switch to silence archive downloads
- 0.1.6
- Stop splitting text at common extensions
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
simple_extract-0.1.6.tar.gz
(6.0 kB
view hashes)
Built Distribution
Close
Hashes for simple_extract-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae759c42211a3e0d3f4b8cb737e931e5ba59ad24e4e2cbf1688c94d27cc2f776 |
|
MD5 | af0a706682ea0d7cdb122de890ea6177 |
|
BLAKE2b-256 | 572bbb161f1a3e53782112c1bba20ca70b269890816dcfa8efcb01acbd200912 |