pop-os / cosmic-files

WIP COSMIC file manager
GNU General Public License v3.0
94 stars 69 forks source link

[Feature Request] Compress/Extract Options #122

Open nathansgithub opened 4 months ago

nathansgithub commented 4 months ago

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.

nathansgithub commented 4 months ago

If you all are willing to merge this, I might take a stab at coding these.

WatchMkr commented 3 months ago

@nathansgithub this is a feature we'd merge if implemented.

WatchMkr commented 1 month ago

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.

iamkartiknayak commented 1 month ago

This feature is needed ASAP. I'm tired of launching terminal every-time to extract a compressed file.

nathansgithub commented 1 month ago

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.

jackpot51 commented 9 hours ago

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.