Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.7: Open Terminal to selected folder System 10.7
You can enable a Service in the Keyboard Shortcuts System Preferences to let you open a terminal window directly to a selected folder.

Go to System Preferences » Keyboard » Keyboard Shortcuts » Services » Files and Folders » New Terminal at Folder. Or New Terminal Tab at Folder, if you want. You can create a keyboard shortcut here, too, if you're in to that kind of thing.

Right-click on any folder and the item appears in the bottom section of the contextual menu (or use your new keyboard shortcut). Works on 'package' files, too.

Note: Services do not work on sidebar items or aliases; you have to select an actual folder or file. If a bunch of Services are enabled for the selected item type, you may have to go inside the Services item in the contextual menu.

[crarko adds: We've published a number of hints over the years about ways to open Terminal from a specific folder. It's good to see that Apple payed attention to people and built it in now.]
    •    
  • Currently 4.30 / 5
  You rated: 5 / 5 (10 votes cast)
 
[18,787 views]  

10.7: Open Terminal to selected folder | 4 comments | Create New Account
Click here to return to the '10.7: Open Terminal to selected folder' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.7: Open Terminal to selected folder
Authored by: Lri on Aug 17, '11 12:49:23PM

Some notes:

  • The actions are only displayed in context menus, not on the menu bar
  • I couldn't any custom shortcuts to work in Finder, but did in other applications
    • Did anyone else get them to work?
  • The services aren't available for folders in TextMate's drawer or Xcode's source list
  • They are available in Transmission
  • They can't be used to open the folder of the current document in apps like TextEdit
  • They didn't have any shortcuts by default


[ Reply to This | # ]
10.7: Open Terminal to selected folder
Authored by: jaydisc on Aug 17, '11 11:33:26PM

That's so weird. I concur on all points. What apps did you have success with shortcuts?



[ Reply to This | # ]
10.7: Open Terminal to selected folder
Authored by: jaydisc on Aug 28, '11 10:58:48PM

These now show up in the Services menu for me, and my assigned shortcuts work. Perhaps this was fixed in 10.7.1?



[ Reply to This | # ]
10.7: Open Terminal to selected folder
Authored by: lachdrache on Mar 18, '12 03:17:31AM

In 10.7.3 the assigned shortcut works for me in Finder but only in Icons View and List View but NOT in Columns View.



[ Reply to This | # ]