Since OS X El Capitan, right-clicking on a file in Finder while pressing "Option" shows a menu function Copy "File.txt" as Pathname.

I wonder if I can replace the absolute path of the home directory so that I get the tilde as in


instead of


No. The ~ substitution is a shell construct.

  • Thanks for your response. Would still be very useful for sev. actions. Wonder if there is no workaround (can't see that deep into macOS). Appreciate any help! – look Aug 3 '17 at 18:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .