Dtrx adalah singkatan dari “Do The Right Extraction”, ini adalah aplikasi baris perintah sumber terbuka dan sangat efektif untuk menyederhanakan pekerjaan ekstraksi arsip dengan lebih mudah.
Perintah dtrx adalah pengganti perintah “tar -zxvf” atau “tar -xjf” dan menyediakan perintah tunggal untuk mengekstrak arsip dalam beberapa format berbeda termasuk tar, zip, rpm, deb, gem, 7z, cpio, rar , dan masih banyak lagi. Itu juga dapat digunakan untuk mendekompresi file yang dikompresi dengan bzip2, gzip, dll.
Untuk meng-install-nya cukup dengan perintah :
$ sudo apt install dtrx -y
Untuk mengetahui fitur dan cara penggunaan-nya bisa mengetikkan perintah:
$ dtrx --help
maka akan menghasilkan output sbb:
$ dtrx --help
Usage: dtrx [options] archive [archive2 ...]
Intelligent archive extractor
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-l, -t, --list, --table
list contents of archives on standard output
-m, --metadata extract metadata from a .deb/.gem
-r, --recursive extract archives contained in the ones listed
--one=ONE_ENTRY_DEFAULT, --one-entry=ONE_ENTRY_DEFAULT
specify extraction policy for one-entry archives:
inside/rename/here
-n, --noninteractive don't ask how to handle special cases
-o, --overwrite overwrite any existing target output
-f, --flat, --no-directory
extract everything to the current directory
--list-extensions list supported filetypes by extension. note that these
are the filetypes recognized by dtrx, but extraction
still relies on the appropriate tool to be installed.
also note that this is not a comprehensive list; dtrx
will fall back on the 'file' command if the extension
is unknown
-v, --verbose be verbose/print debugging information
-q, --quiet suppress warning/error messages
Terima kasih.
Comments are closed