menu

开发进行时...

crazy coder

Avatar

Open a folder in the Finder from the Terminal


Here's a simple but nifty trick. Say you're navigating around in the Terminal and you would like to see the present working directory in the Finder? Just type

open . 

and the Finder will open up the folder you're in. This works in both xterms and the Apple Terminal.

Running MacOS X Applications
open /path/to/MyApp.app


other tips:
iTerm: http://iterm.sourceforge.net/
--superior open-source terminal application with tab support

Mac OS X Resource Fork and Command Line Tips
http://xahlee.org/UnixResource_dir/macosx.html
--Amit Singh's list of Mac OS X haching tools