RSS Feed

In terminal open the current working directory in finder

When working with the terminal it’s sometimes required to open your current working directory in finder. While, to my annoyance, opening finder and navigating to the directory is of course possible some of us enjoy the quick and easy open command.

In terminal use the open command to open a directory. To open the current directory in finder you simply enter ‘.’ as your argument, where dot represents the current working directory.

open .

You can of course open any directory you like:

open ~/Desktop

Which would open a new window in finder pointing at your desktop. Or, for example, your sites folder:

open ~/Sites

An extremely handy tip to know.

Posted in Mac OS X on the 5th November 2010

One person has spoken their mind!

  1. IByDev says:

    I had no idea you could do this. Good find and thanks for the tip!

SPEAK YOUR MIND...

Your email address will not be published. Required fields are marked *

*