1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-21 22:02:09 +02:00
tldr/pages/common/dtrx.md
Peter Babič 16944ecbbd
dtrx: add page (#15691)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
2025-02-06 18:32:51 +02:00

445 B

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