Open the Current Finder Window in the Terminal with cdto

Jul 15, 2010 - 6 Comments

cdto logo Need to access the current Finder directory immediately within the Terminal? While newer Mac OS X versions have an option to enable “New Terminal at Folder” in Services, prior releases do not, so instead you can get cdto, it’s one of those must-have apps for anyone who’s constantly switching between the command line and the Finder.

Installing cdto is simple, just download the app and place it somewhere in your Applications or Utilities folder, then drag the app directly into your Finder toolbar.

cd to current folder

Now anytime you want to open any Finder window within with the Terminal, click the cdto icon and a new Terminal session is started with the PWD set to the same folder that you were using in the Finder.

cdto developer home

This is likely most useful for prior releases of OS X, but you can still use the utility in modern versions of Mac OS as well.

.

Related articles:

Posted by: Bill Ellis in Command Line, Mac OS, Utilities

6 Comments

» Comments RSS Feed

  1. You could also try OpenTerminal which is available at http://homepage.mac.com/thomasw/OpenTerminal/

  2. d says:

    Can be done QuickSilver for ages

  3. Jaron Sampson says:

    Without any software, you can drag-and-drop any finder folder to an open terminal window and the full path is pasted into the terminal. If you had already typed cd and a space, now you can just hit enter.

    What I would like to know is how to do the opposite. In a terminal, issue a CLI command to launch the finder open to your terminal’s working directory.

  4. DTerm Shouter says:

    DTerm is also quite handy http://www.decimus.net/dterm.php

Leave a Reply

 

Shop on Amazon.com and help support OSXDaily!

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates

Tips & Tricks

News

iPhone / iPad

Mac

Troubleshooting

Shop on Amazon to help support this site