Sign In/My Account | View Cart  

advertisement

AddThis Social Bookmark Button

Article:
  Learning the Mac OS X Terminal: Part 1
Subject:   Terminal to finder and back
Date:   2002-06-02 20:53:37
From:   michal.young
It's grand to have both the finder and terminal interface ... but a little clumsy jumping between them. For example, if I am locally editing a web site with Dreamweaver, and posting it through CVS, then I need to be moving back and forth between a finder view and a terminal "view" of the same directory.


To get from terminal to an application, the "open" command is great ... in particular, to open a finder window from a terminal window, and focus it on the current working directory, type
open -a finder .
(that's a dot, aka full-stop, at the end of the command).


But here's a puzzle I haven't solved: How can I do the vice versa jump, from finder to terminal? If I've got a finder window open on a folder, how do I launch a terminal *on that directory.* It's silly and a waste of time to figure out the path and type it in after opening the terminal window.

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • Terminal to finder and back
    2010-08-15 03:35:53  pklaus [View]

    OK, the thread is old but I recently moved to Mac OS X and found this site using a google search so I think I should contribute my findings:

    To jump from Terminal.app to the finder:
    open .


    To jump from Finder to Terminal:
    Have a look at the open source tool >cd to... found on http://code.google.com/p/cdto/

    I found this approach at http://stackoverflow.com/questions/420456/open-terminal-here-in-mac-os-finder
  • Terminal to finder and back
    2002-07-03 07:51:15  gasoline [View]

    I don't know how to open it directly, but one can drag a particular folder onto the terminal window and it will cd to that directory.