Open Finder Window in Terminal

One of the few (maybe only) things I miss from my Windows days, was the abilty to right-click a window in Explorer and select 'Open Command Window Here'.

01openpromptheres

Mac's Finder doesn't has a similar function, which is a bit of a pain when I want to run ANT (aka Force.com Migration Tool ) to quickly get code in/out of a Salesforce org.

In the past, I used Automator and a Applescript to do this. But, recently I found a nice toolbar shortcut, called CdTo, that does this with one click.

  1. Download the zip file from here.
  2. Unzip the file and copy the CdTo application for your OSX version to your Applications directory. (I put my copy in Utilities)

    Cdto

  3. Drag and drop the CdTo app to the Finder toolbar.

    Cdto2

  4. Now you see a new icon on the Finder window. From now on you can click that to open the current Finder folder in Terminal.

    Cdto3