Dtrx – An Intelligent Archive Extraction (tar, zip, cpio, rpm, deb, rar) Tool for Linux

If you have any questions or problems regarding this article and want help within 24 Hours? Ask Now

Support TecMint: Did you find this tutorial helpful?. Please help to keep it alive by donating. Every cent counts! - Donate Now

Ravi Saive

Simple Word a Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Introduction to Linux - A Hands on Guide

You may also like...

7 Responses

  1. Heinrich says:

    I use a function in my .bashrc which does the extraction job for me:

    extract ()
    if [ -f $1 ]; then
    case $1 in
    tar xvjf $1
    tar xvzf $1
    bunzip2 $1
    unrar x $1
    gunzip $1
    tar xvf $1
    tar xvjf $1
    tar xvzf $1
    unzip $1
    uncompress $1
    7z x $1
    tar -xJf $1
    echo “‘$1’ cannot be extracted via >extract<"
    echo "'$1' is not a valid file";

  2. Jan says:

    The tar command has autodetection of compression. No need for -zxf or -xjf etc, just use -xf.

  3. jabson says:

    It can also be used:
    tar xf file
    and tar will automatically recognize what compression method was used and extract the file.

  4. Debasish says:

    Every thing is well except .rar extraction is not working for my case …………………….

  5. Shahil says:

    Cool Sir :) Thank you ……… Beauty of Linux very Useful tool …………….

  6. Gokul Nair says:

    Dear Ravi,

    Thanks. Good tool and easy to use. One qn:- What does the command ‘python setup.py install –prefix=/usr/local’ actually mean?

Leave a Reply

Your email address will not be published. Required fields are marked *

Join Over 85000+ Linux Users
  1. 53,676
  2. 2,838
  3. 20,639

Enter your email to get latest Linux Howto's