/Library
、~/Library
、/System/Library
介绍
Library 官方翻译为 资源库。
-
/System/Library
: system library。存储macOS 的系统设置、资源,以及所有本地用户使用的公公资源,如字体、屏保等。 -
/Library
:local library。在 NextStep,这个文件夹是/Local/Library
, 也有人称之为 root library, computer library。 -
~/Library
:user library。 存储当前个人用户使用的资源。
典型文件
-
/Library/Desktop Pictures
系统桌面图片。~/Library
没有这个文件夹。 -
/Library/Printers
打印机配置文件夹; -
/Library/Fonts
系统字体文件夹 ;/Library/Fonts
自定义字体文件夹。 -
/Library/Preferences
主要存储苹果官方应用的偏好设置,如/Library/Preferences/com.apple.alf.plist
,/Library/Preferences/com.apple.Bluetooth.plist
。 -
~/Library/Preferences
存储各个应用的偏好设置。如网易云音乐的plist~/Library/Preferences/com.netease.163music.plist
。 -
/System/Library/CoreServices
系统服务工具,如 访达、聚焦(Spotlight.app)、安装器(Installer.app)、蓝牙设置助理(Bluetooth Setup Assistant.app )、天气、证书助理(Certificate Assistant.app)。
参考
-
On OS X, what is the difference between /Library/ and /System/Library/?
https://apple.stackexchange.com/questions/262587/on-os-x-what-is-the-difference-between-library-and-system-library -
what does mac os /Library folder store?https://stackoverflow.com/questions/14286571/what-does-mac-os-library-folder-store