Return the localised display name for a file or directory as shown by Finder.
For example, /Library appears as "Library" in Finder even though its on-disk name is the same.
/Library
"Library"
Path to the file or directory. ~ is expanded.
~
Display name string, or null if the path does not exist.
null
Return the localised display name for a file or directory as shown by Finder.
For example,
/Libraryappears as"Library"in Finder even though its on-disk name is the same.