简体   繁体   中英

symbolic links - case sensitivity

I am having problems in a program trying to follow symbolic links, and tracked it down to an apparent case issue.

If I list the symbolic links it shows a target, but this does not exist.

ls -la "/User Guides And Information"
lrwxr-xr-x  1 root  admin  60 21 Mar 11:28 /User Guides And Information -> /Library/Documentation/User Guides and Information.localized

There is similar target, which differs only in the case of "And", which Finder seems to find OK.

ls -la /Library/Documentation
drwxrwxr-x  10 root  admin     340 21 Mar 11:28 User Guides And Information.localized/

Is there some character set issue, or is Finder ignoring case?

这取决于您使用的操作系统和文件系统,但是可以,本机Mac文件系统通常不区分大小写。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM