Is there any way to get the path of a folder in macOS? [duplicate]
In macOS holding the ALT key ⌥ often shows extra options in context menus.
To copy a file or folder's path in Finder.app:
- Right-click the item
- Hold alt ⌥ key down
- Click
Copy "item" as Pathname
Done. Now you have the path, as text, in your clipboard.
In the Finder, right click on the file whose full path you want to copy.
Once the context menu is open, press and hold the option key while clicking on Copy "File" as Pathname
.
The full path can now be pasted into any text field.