job.answiz.com
  • 3
Votes
name
name Punditsdkoslkdosdkoskdo

How can i copy Unix file path in OS X Yosemite

When I try to get the path of a file using ⌘ (Command)+I, it gives the path in a different way.

I see this only after updating to Yosemite. It is not a text. How do I get it in the format /Users/Myself/Documents/…?

Drag the file into textEdit to get the path.

Dragging the file into Terminal will replace spaces or special characters in the file name with backslashes.

  • 0
Reply Report

Right-click (or control-click) on the file icon, then hold down the option key. In the pop-up menu that appears there will be a "Copy "filename" as Pathname" menu item. That menu item will put the POSIX path to the item on the clipboard.

  • 0
Reply Report

Open up the “Terminal” in Applications > Utilities > Terminal and then drag the file into the window. The full Unix path of the file will show up.

  • 0
Reply Report