Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I was wondering if there was an easy way to add an 'Extract to...' option in the context menu for the Archive Manager in Nautilus?

'Extract here' is fine a lot of the time but I'm often working with a lot of archives whose content is just 'loose' within the archive and I want it extracted in to a sub-folder for better organisation. Having to manually create the folder first becomes really tedious when dealing with lots of archives.

I was also hoping that it would be possible for this (or another) function to automatically create a folder with the same name as the archive and extract the contents there. Again for ease of management and so I don't have to keep typing out long complicated archive names by hand.

Thanks for any help you can offer.

share|improve this question

2 Answers 2

up vote 3 down vote accepted

Having to manually create the folder first becomes really tedious when dealing with lots of archives.

This is not required. Try creating a zip file with 2 files without a folder. When you extract it with "Extract here" it will create the folder automatically.

If the folder exists, it will create a new folder, MyArchiveFilename (2).

If there's only one file in the archive, only then it is extracted in the current directory, without creating a subfolder.

share|improve this answer
    
...oh so it does! (embarrassed now) Thank you so much for this! I can't believe I'd never realised this before. I'd always assumed it wouldn't so just opened the archive manager and created the folder manually. You've just saved my fingers (and time) much effort. Big thanks though to @Mitch too as his tip will surely come in handy! –  Chris Jun 16 '12 at 11:34
    
No need to be embarassed, we could all make the same mistake. Cheers, enjoy Ubuntu and its community. :) –  medigeek Jun 16 '12 at 18:44

Yes you can. Install the Nautilus Actions Configuration utility. To do so

Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the commands below.

sudo apt-get install nautilus-actions

Or

Install via the software center

For information on how to use it, you can take a look at this. It shows you an example on how to use it

share|improve this answer
    
Thanks I'll check it out. I'm still learning how to do everything I want to in linux. Any chance you could update your answer to include the command lines I'd need to add for the 'Extract to...' and 'Extract to new folder' functions please? –  Chris Jun 16 '12 at 11:05
    
Thanks for the update, @medigeek solved it for me though. Turns out it wasn't even a problem to begin with! (Doh) Anyway thanks this app looks really useful. Would upvote you but not enough rep yet :( –  Chris Jun 16 '12 at 11:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.