# 关闭提示消息框
launchctl unload -w /System/Library/LaunchAgents/com.apple.diskspaced.plist
# 修改修改磁盘不足提示上限
sudo defaults write com.apple.diskspaced minFreeSpace 5
# 关闭提示消息框
launchctl unload -w /System/Library/LaunchAgents/com.apple.diskspaced.plist
# 修改修改磁盘不足提示上限
sudo defaults write com.apple.diskspaced minFreeSpace 5