Nearly two weeks into the new year and this is my first post of 2011 in this blog. Anyway, I’m starting on a rather low key, but nevertheless very useful, note.
If you need to exact path of a file or a folder in OS X, it’s not as easy to get it as it is in Linux. However, I came across this collection of ways to overcome this problem in Quora. Basically, there are three options:
1. Open Finder, select your file or folder, then drag it to an open terminal window and drop it. The full path will be printed in the terminal
2. Select the file or folder in Finder and then click on Get Info (either right click and select from the context menu or just Cmd-i). The path is shown in the Where item. Copy this by highlighting and Cmd-c or simply by tripling clicking on the path. Paste it to wherever you want with Cmd-v
3. Use the script as explained in this link.

Leave a comment
Comments feed for this article