Friday Favorite (on a Tuesday): OpenTerminal
I'm aware that it's not, in fact, Friday. When we find an app that's not new, but is really useful to us, we usually save it for a Friday before we salivate all over it. I'm an impatient guy, though, so here's your Friday Favorite on a Tuesday. It's five o'clock somewhere.
This one's for the geeks. If you have no idea why you'd want to open the current finder folder in Terminal, you'll have little interest in this app, and I hope the rest of today's news is more thrilling for you. If, however, you get a little excited about a button on your Finder window that drops you into the UNIX subsystem, read on: I think I've found the best-of-breed.
OpenTerminal does what it says, it opens Terminal and cd's to the folder of the foreground Finder window. There are plenty of AppleScript or Automator-based buttons that will do this, and apps like cdto do the job in a very utilitarian fashion. It's pretty easy to craft your own, too, but this free utility packs a few extra tricks.
Like most of these utilities, you simply put the application in a folder (/Applications/Utilities, or ~/Applications, maybe) and then drag it to your Finder toolbar. The very first thing you'll notice is that it has an options menu; very few of the other apps in this category boast configurable options, so this is a bonus from the start. The options panel opens the first time you launch OpenTerminal, and is always accessible by holding the Option key when you click the icon.
One nice thing (and the first option you can set) is that it's a native app that can run in the background and always be ready for a quick transfer from GUI to terminal. It has a zero-memory footprint, so it's quite convenient to do so. Next, it has iTerm support, which I always preferred until the Snow Leopard Terminal came out. Some of you may still enjoy it more, so the option is there. You can also choose whether to use an existing window if available, or open a new window each time, and you can opt to open tabs instead of windows, if you prefer (I do).
You can choose to always cd to the folder of the current window, or cd to a selected folder when there's a selection. OpenTerminal also comes with a contextual menu plugin for opening the directory of a selected file or folder. There's even a built-in script you can link to that works in reverse, and opens the current Terminal directory in Finder.
Flipping over the the Shell pane in OpenTerminal's preferences, you can choose to use pushd instead of cd, which keeps a stack of your directories that you can drill back through using popd. It's like cd - on steroids. You can also tell it what shell you're using, so you get properly-escaped folder names when you run it.
The icon it comes with is ugly and does not fit well into the Snow Leopard finder bar. That's no problem, though, there's an alternate icon in the zip file that does the trick nicely. You can swap it out using the age-old "Get Info, select icon, Command-C, Get Info, select icon, Command-V" technique.
It's exactly what I've been looking for since my recent clean install, after which I couldn't find the app I had originally been using for this. This one is better, and it's free. If you spend time flipping between Finder and Terminal, OpenTerminal is a great tool.
Share
Categories
I'm aware that it's not, in fact, Friday. When we find an app that's not new, but is really useful to us, we usually save it for a Friday...
Add a Comment
I created an automator workflow that is similar to this, except it lets you specify a frequently used folder, like say for instance "downloads". The article is geared towards Drupal development, but can be adapted for any folder you want:
http://www.radarearth.com/content/automate-terminal-automator
@Brett Terpstra
Have you gotten this to play nicely with Visor? The only way I can get OpenTerminal to do anything is if I open another, regulare Terminal window first... am I missing something here?
Well, it doesn't open Visor, but it does use my current Visor window so that when I hit ctrl-ctrl, it's already been switched to the new directoryâ¦
June 25 2010 at 9:11 AM Report abuse Permalink rate up rate down ReplyAny idea if this plays nicely with TotalFinder?
June 22 2010 at 10:32 PM Report abuse Permalink rate up rate down ReplyI don't know what the extra features of OpenTerminal are, but the feature highlighted in here seems like a quick shortcut to save yourself from just typing 'cd' and dragging the folder icon over to the stock Terminal. Seems to me like it's not very practical... but I'd assume the other features are worth it.
June 22 2010 at 3:39 PM Report abuse Permalink rate up rate down ReplyAnother related tip, if you are using the terminal and want to open the current directory in the Finder, just type this:
open .
In step 3 of the destructions it states, "You can optionally install the contextual menu plugin in '/Users/yourName/ Library/Contextual Menu Items'"
I running 10.6.4 and didn't have this directory (yes... yourName was replaced with my name). I did have a '/Library/Contextual Menu Items' folder, which makes the plugin available for all users on the system.
Just a little fyi...
I assume you mean *in*structions :). If the folder doesn't exist, you can just create it and the system will pick it up. If you want it available to all users, then /Library worksâ¦
June 22 2010 at 4:58 PM Report abuse Permalink rate up rate down ReplyHereâs another script utility for Terminal, TextMate and Latex file cleaning :)
http://manas.tungare.name/software/finder-toolbar-scripts/
OpenTerminal is one of my âmust-haveâ tools, I install it right away in any account I work in.
June 22 2010 at 2:14 PM Report abuse Permalink rate up rate down ReplyJust wait until Brett discovers Dterm...
http://www.decimus.net/dterm.php
Hot Apps on TUAW
Deals of the Day
more deals- Verizon Leather Sleeve for Tablets for $4 + free shipping
- Wicked Jaw Breaker Noise-Isolating In-Ear Headphones for $6 + free shipping
- Refurb Apple MacBook Air Laptops: 12" 64GB SSD for $699 + free shipping
- JVC Motion Sensing Clock Radio with Dual iPod Docks for $55 + free shipping
- Apple iPhone Headset with Mic for $4 + $2 s&h
- Refurb Apple iPod nano 8GB MP3 Player for $99 + free shipping, 16GB for $119
Software Updates
more updates- EFI Firmware Update brings Lion Internet Recovery to 2010-model Macs
- OS X Lion 10.7.3 released with Safari 5.1.3, Wi-Fi bug fix
- Aperture updated to 3.2.2, addresses Photo Stream issue
- Apple updates Keynote to address Lion issues
- Google Search app gets new look on iPad
- Apple releases Apple TV Software Update 4.4.3



20 Comments