Open nathansgithub opened 4 months ago
If you all are willing to merge this, I might take a stab at coding these.
@nathansgithub this is a feature we'd merge if implemented.
Secondary click options:
Compress Extract Extract to...
MVP for compress > make a .zip archive in the current directory. MVP+1 password protected zip archives with dialog for choice and name.
This feature is needed ASAP. I'm tired of launching terminal every-time to extract a compressed file.
I made a PR for an MVP to handle extracting .zip files to the current directory: https://github.com/pop-os/cosmic-files/pull/370
Adding dialogues for the other pieces will be a little more involved, and I'm not sure what the preferred way to handle other archive types would be, but I think this piece is useful by itself.
We now have support for compressing to .tgz and .zip, and for extracting .tar, .tgz, and .zip. We will leave this open for more archive types to be supported.
One feature I really like in Nautilus is the right-click archive options, and I would love if you could replicate that here.
This is the "Extract Here" and "Extract to" options on various formats of zipped/archive file, and the "Compress" option on any one or more selected files.