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

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Ravi Saive

I am Ravi Saive, creator of TecMint. 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. Follow Me: Twitter, Facebook and Google+

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...

8 Responses

  1. Jonathan Leslie says:

    hi everyone, my 7zip file has a password, can i still use dtxr ? is yes then how?

  2. 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.bz2)
    tar xvjf $1
    ;;
    *.tar.gz)
    tar xvzf $1
    ;;
    *.bz2)
    bunzip2 $1
    ;;
    *.rar)
    unrar x $1
    ;;
    *.gz)
    gunzip $1
    ;;
    *.tar)
    tar xvf $1
    ;;
    *.tbz2)
    tar xvjf $1
    ;;
    *.tgz)
    tar xvzf $1
    ;;
    *.zip)
    unzip $1
    ;;
    *.Z)
    uncompress $1
    ;;
    *.7z)
    7z x $1
    ;;
    *.tar.xz)
    tar -xJf $1
    ;;
    *)
    echo “‘$1’ cannot be extracted via >extract<"
    ;;
    esac;
    else
    echo "'$1' is not a valid file";
    fi
    }

  3. Jan says:

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

  4. jabson says:

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

  5. Debasish says:

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

  6. Shahil says:

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

  7. 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?

Got something to say? Join the discussion.

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

Join Over 150K+ Linux Users
  1. 100,756
  2. 5,113
  3. 36,418

Enter your email to get latest Linux Howto's