项目作者: terroo

项目描述 :
Automatically recognizes and extracts various types of mime formats from compressed files.
高级语言: Shell
项目地址: git://github.com/terroo/extract.git
创建时间: 2019-10-16T12:30:25Z
项目社区:https://github.com/terroo/extract

开源协议:GNU General Public License v3.0

下载


extract

Automatically recognizes and extracts various types of mime formats from compressed files. If it is installed, otherwise it says Failed to unpack: ‘[type]’. and you will need to install the appropriate software later

extract --list


Dependencies

Example on Ubuntu:

  1. sudo apt install build-essential cmake

Instalation

  1. git clone https://github.com/terroo/extract
  2. cd extract
  3. cmake -B build .
  4. cmake --build build/
  5. sudo cmake --install build/

Usage

  • Show the help:

    1. extract --help

    Or only: extract -h

  • Show the manual:

    1. man extract
  • Extract file:

    Example to tbz2

    1. extract file.tbz2
  • Extract file in verbose mode:

    Example to lzma

    1. extract file.tbz2 --verbose

    Or only: extract file.tbz2 -v. The verbose needs to be the last command!

  • Lists commands to compress and uncompress:

    1. extract --list

    Or only: extract -l


Notice

If the decompressor is not installed, there will be output: Failed to unpack: ‘[type]’. To resolve, install the appropriate software.


License

Copyright © 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html.


Uninstalation

  1. git clone https://github.com/terroo/extract
  2. cd extract
  3. cmake -B build .
  4. cmake --build build/
  5. cd build/
  6. sudo xargs rm < install_manifest.txt