News for hackers. Stuff that matters.
Re:My next Mac might be the last by dwaite on Tuesday October 25, 2022 @02:18AM (#33326900)
The copy operation (⌘C) has an optional variant (⌥⌘C) which copies the pathnames to the clipboard as text rather than copying file references.

This will copy either the directory (if no selection) or the selected file(s).

If you enable the path bar, I believe this is also a copyable element.

Finally, dropping a file or directory into a plain text control that cannot take file or folder references (like this HN comment box) will fall back to the path name.

There are no comments on this comment yet.