Friday, April 5, 2013

How to copy a file path in OS X


Sometimes you may wish to get the full path of an item in the Finder, and while there are several ways to access file paths, not all will allow you to extract them as text to paste into documents you may be composing.


For example, if you select a file in the Finder and press Command-C to copy it, the behavior when pasting it will be different, depending on the program being used. In some cases the program will only paste the file name, but in others it may try to embed the file's contents or its icon where you have pasted. The same goes for dragging and dropping files from the Finder; they similarly may be handled either as file names or as icon or content objects.


If you would like to instead just get the file path of the selected document, you can use the Finder's "Show Path Bar" option in the View menu, open the document in a program and use the path menu, or by searching for the item in Spotlight followed by holding the Option and Command keys while hovering your mouse over a search result to reveal its path in the preview window. However, these approaches do not give you the option to copy the file path as text.



You can select the path to the file's parent folder in an info window and copy it.[Read more]




No comments:

Post a Comment