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

Click here to return to the '10.4: A simple way to copy the path to a file or folder' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: A simple way to copy the path to a file or folder
Authored by: Anonymous on Oct 23, '10 04:24:41PM

Getting the filepath from Terminal (by dragging the appropriate file/folder into a terminal window) is not always ideal.

Mac OS converts space characters in a file or folder name to "\ " when they appear in the filepath in a Terminal window.

For example, I have a folder called "Gluten Intolerance", located in a folder called "Research", with this located in my home folder "joe", so the filepath comes out as:

/Users/joe/Research/Gluten\ Intolerance

This means that when I select the "Go to Folder..." command (in the Finder's Go menu), and paste in this filepath as it is, Finder says "Folder can't be found".

What you have to do is delete all "\" characters in the filepath, and then "Go to Folder..." will find the file or folder. You only this problem if one or more of your folder or file names contains a space.

[ Reply to This | # ]