every flag on `unzip` has the most cursed docs i've ever seen https://linux.die.net/man/1/unzip
unzip(1) - Linux man page

unzip will list, test, or extract files from a ZIP archive, commonly found on MS-DOS systems. The default behavior (with no options) is to extract into the ...

@Gankra It’s crazy. I tend to use Java’s “jar” tool as a “zip-with-tar-like-interface” on the command line (but it’s not installed everywhere), or “7z”.

Also, if neither jar nor 7z are installed, “python3 -m zipfile” can work:

https://docs.python.org/3/library/zipfile.html#command-line-interface

..so lots of options to avoid unzip :)

zipfile — Work with ZIP archives

Source code: Lib/zipfile/ The ZIP file format is a common archive and compression standard. This module provides tools to create, read, write, append, and list a ZIP file. Any advanced use of this ...

Python documentation
@thp @Gankra Another option is https://github.com/mholt/archiver which can work like dtrx.(Use v3 for now.)
GitHub - mholt/archiver: Easily create & extract archives, and compress & decompress files of various formats

Easily create & extract archives, and compress & decompress files of various formats - GitHub - mholt/archiver: Easily create & extract archives, and compress & decompress files of ...

GitHub