Wednesday, February 3, 2010

How are you contributing to the community?

Me? Producing the next geek programmers of tomorrow (lol)...

 
(that's my kid, 1 y.o.)

Handy actions on your right click menu: RAR extract

I already wrote about the nautilus-actions embedding application into the nautilus at Customizing the Right Click Menu, with the features of providing right click actions to whatever you want to do (in my example, how to convert multiverse files).

I've come across situations where I see myself doing the same actions over and over again, repetitively. If you are working on the terminal, it is fine just to type manually everything (it keeps you sharp, ya know!), but if you are on the desktop, trying to relax and watch a movie or listen to music, it is unlikely that you will open the terminal to execute certain commands...

One good example is the "extract" from archive feature. The truth is that the visual box (as below) is not accurate on the progress indicator, neither you have any other details of what's going on (is it stuck or what?).


So, I usually prefer the command-line because it simply gives me a better visual of what is going on:


Since I kind of do that all the time (yeah, I am a TV-Movie freak), I wrote a simple script to save my day. You can find the source code here.

Basically, I added the script call to nautilus-action-configuration window, and the output is something like:




The script is currently handling only RAR (maybe I will add more in future), but it process a single RAR, or a compressed content in volumes, or an entire directory in batch... later, deleting everything (send to trash only, just in case something goes weird).

Feedback and comments on it are very welcome: linscripts > nautilus-actions > ext-rar-clean.sh.