One of the neat things you can do in OS X is to reveal a file in Finder.app from some other applications. Turns out lots of the time, we also want to do that in the terminal. The following script helps you with that:
1 2 3 4 5 6 7 8 9
- You should put this into a directory in your search path. I recommend in
~/bin. Also remember to
- The above requires another script
realpath, which returns the fullpath of a file. You can find it here.