Automatically recognizes and extracts various types of mime formats from compressed files.
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
Example on Ubuntu:
sudo apt install build-essential cmake
git clone https://github.com/terroo/extract
cd extract
cmake -B build .
cmake --build build/
sudo cmake --install build/
Show the help:
extract --help
Or only:
extract -h
Show the manual:
man extract
Extract file:
Example to tbz2
extract file.tbz2
Extract file in verbose mode:
Example to lzma
extract file.tbz2 --verbose
Or only:
extract file.tbz2 -v
. The verbose needs to be the last command!
Lists commands to compress and uncompress:
extract --list
Or only:
extract -l
If the decompressor is not installed, there will be output: Failed to unpack: ‘[type]’. To resolve, install the appropriate software.
Copyright © 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html.
git clone https://github.com/terroo/extract
cd extract
cmake -B build .
cmake --build build/
cd build/
sudo xargs rm < install_manifest.txt