Decompress a file keeping the input file

p7zip

  • Wrapper of 7-Zip file archiver with high compression ratio.
    Internally executes either 7za or 7zr command.
    More information: <http://p7zip.sourceforge.net>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

p7zip -d -k {{compressed.ext}}.7z

click the source code to copy install p7zip on any operating system with command-not-found.com