mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
538 B
Plaintext
22 lines
538 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|