Skip to Content

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.



Categories

Friday Favorite

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

*0 / 3000 Character Maximum

20 Comments

Filter by:
Ben Hosmer

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

July 05 2010 at 4:48 AM Report abuse rate up rate down Reply
Wyldkrd87

@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?

June 25 2010 at 8:17 AM Report abuse rate up rate down Reply
1 reply to Wyldkrd87's comment
Brett Terpstra

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 rate up rate down Reply
Yendi

Any idea if this plays nicely with TotalFinder?

June 22 2010 at 10:32 PM Report abuse rate up rate down Reply
Fábio

nice.

June 22 2010 at 8:41 PM Report abuse rate up rate down Reply
uzerzero

I 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 rate up rate down Reply
cristiana

Another related tip, if you are using the terminal and want to open the current directory in the Finder, just type this:
open .

June 22 2010 at 2:56 PM Report abuse rate up rate down Reply
3 replies to cristiana's comment
Matthew

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...

June 22 2010 at 2:31 PM Report abuse rate up rate down Reply
1 reply to Matthew's comment
Brett Terpstra

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 rate up rate down Reply
VIvek

Here’s another script utility for Terminal, TextMate and Latex file cleaning :)
http://manas.tungare.name/software/finder-toolbar-scripts/

June 22 2010 at 2:17 PM Report abuse rate up rate down Reply
Lorin Rivers

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 rate up rate down Reply
Bergamot

Just wait until Brett discovers Dterm...

http://www.decimus.net/dterm.php

June 22 2010 at 2:01 PM Report abuse rate up rate down Reply
Buy an ad here

Hot Apps on TUAW

Tweets

© 2012 AOL Inc. All Rights Reserved.