Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Possible Duplicate:
“open terminal here”?

If I browse my Apple Finder at

/Users/arie/Documents/shugyou/genjutsu/fp

How can I possibly go to Terminal with that very same directory? So that I won't need to do two less productive commands (1) open Terminal from Spotlight, and then (2) type cd /Users/arie/Documents/shugyou/genjutsu/fp.

I use Mac OS X 10.5.8. Note I don't (want to) use iTerm. TIA.

share|improve this question

marked as duplicate by Nathan Greenstein Jul 30 '11 at 21:57

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

add comment

3 Answers

up vote 2 down vote accepted

cdto - Finder Toolbar button to open a Terminal window

cdff - Switch Terminal dir to frontmost window of certain apps

share|improve this answer
    
problem's solved, thanks! I use cdto as you recommended. I copied the app to my Finder's toolbar and it's working beautifully. IMO this app should come with Apple OS X default feature. –  Arie Jul 10 '11 at 10:48
add comment

You should give that application a try. It works on 10.6 as well as on 10.5 ;-)

Link to the website

share|improve this answer
add comment

I use FastScripts and this AppleScript:

tell application "Finder" to set il to insertion location as alias
set cmd to "cd " & quoted form of POSIX path of il
tell application "Terminal"
    activate
    try
        do script with command cmd in window 1
    on error
        do script with command cmd
    end try
end tell

Lion has services called New Terminal at Folder and New Terminal Tab at Folder:

Built-in systemwide services for Terminal

You can create new sessions based on Finder folders or text paths selected in any application.

share|improve this answer
    
Ah, thanks for mentioning Lion got that service. –  Arie Jul 10 '11 at 16:20
    
Very interesting service indeed. –  neoneye Jul 10 '11 at 21:47
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.