How to Extract Multiple Compressed Formats with a Single COMMAND

It keeps you from memorizing commands and options.


How to Extract Multiple Compressed Formats with a Single COMMAND

This day I was a little stressed with various types of formats that I had to unzip and I remembered a software I had created for the terminalutils package (discontinued) and decided to rewrite the software with more options and optimizations. Introduction

The extract command automatically recognizes and extracts various types of MIME formats from compressed files if it is installed, otherwise it says ‘command not found’ and you will need to install the appropriate software later.

Installation

To install it is very simple, just clone the repository, enter it and use the make command:

git clone https://github.com/terroo/extract
cd extract
sudo make install

Use

Displays a quick help:

extract --help

Or only: extract -h

Displays the manual:

man extract

How to Extract Multiple Compressed Formats with a Single COMMAND

Extracts a compressed file:

Example if format is tbz2

extract file.tbz2

Extracts a compressed file in VERBOSE mode:

Example if format is lzma

extract --verbose file.tbz2

Or only: extract -v file.tbz2

List a tutorial table for compressing and unpacking directly:

extract --list

Or only: extract -l

How to Extract Multiple Compressed Formats with a Single COMMAND

Solving problems

If you encounter any problems, please report them at: https://github.com/terroo/extract/issues

If you want to uninstall

If you still have the repository on your machine, just enter it and run the command: sudo make uninstall , if you no longer have the directory/repository, clone it again.

Hope that helps, hugs!


extract terminal command


Share


YouTube channel

Subscribe


Marcos Oliveira

Marcos Oliveira

Software developer
https://github.com/terroo

Related articles