Suggestion: use ouch for implementing compress/decompress utils
What do you need?
Currently, Omarchy has custom utility scripts compress / decompress, that are designed to handle tar.gz archives.
There is a neat tool called ouch, which is dedicated to handling all sorts of compression and decompression operations (not limited to tar.gz)
It should be straightforward to dramatically extend Omarchy's compress and decompress utilities by swapping to ouch as their backend.
Here is a snapshot from part of their docs for illustration:
Oh! That's really cool.
+1 . The shell scripts don't work if one switches shell to zsh. As any normal person should 😛
Edit: ouch doesn't handle password during decompression. 7zip was able to. 7z e file.rar -odestDir
for the last ~10 years i've been happy with this tool https://github.com/dtrx-py/dtrx
it's similar, but it assures that exracting the archive doesn't just put a bunch of files in your current directory: it always creates a directory named after the zip file, and if the zip file already contains a single directory at the root level it assures you don't end up with a double directory