HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

dtrx — "Do The Right eXtraction" - extract any archive into new directory by guessing the tool from extensi

Submitted by: @import:tldr-pages··
0
Viewed 0 times
theextractcommandrightextractionanyclidtrx

Problem

How to use the dtrx command: "Do The Right eXtraction" - extract any archive into new directory by guessing the tool from extension. More information: <https://github.com/dtrx-py/dtrx>.

Solution

dtrx — "Do The Right eXtraction" - extract any archive into new directory by guessing the tool from extension. More information: <https://github.com/dtrx-py/dtrx>.

Extract archive, guessing the extraction tool from extension:
dtrx {{path/to/file}}


Extract archive, overwrite any existing target output:
dtrx --overwrite {{path/to/file}}


Extract archive, put everything into current directory:
dtrx --flat {{path/to/file}}

Code Snippets

Extract archive, guessing the extraction tool from extension

dtrx {{path/to/file}}

Extract archive, overwrite any existing target output

dtrx --overwrite {{path/to/file}}

Extract archive, put everything into current directory

dtrx --flat {{path/to/file}}

Context

tldr-pages: common/dtrx

Revisions (0)

No revisions yet.