我的问题和这个。但是,我是新来的,无法发表评论以询问有关所提供答案的更多信息......
问题是:如何在不开始下载的情况下知道要下载的软件更新有多大?(我在 Mac 上使用移动数据计划上网,需要知道更新将占用多少数据)。
@gurple 提供了一个答案:
Running /usr/sbin/softwareupdate -l will display the size of the update in its listing of available updates. Take a peek at the man page for softwareupdate to learn about its features.
我猜这意味着我需要打开终端并运行命令,/usr/sbin/softwareupdate -l
但这样做似乎没有任何作用。
有人可以帮我弄这个吗?
答案1
只需打开终端并发出命令
softwareupdate -l
这将提示 macOS 中的软件更新机制检查并列出当前系统的所有可用更新。
我必须搜索一台 Mac 才能获得可用的更新,因为我倾向于升级它们。如果没有可用的升级,您当然不会获得列表。
以下是一个更新的示例:
% softwareupdate -l
Software Update Tool
Finding available software
Software Update found the following new or updated software:
* Label: macOS Big Sur 11.7.8-20G1351
Title: macOS Big Sur 11.7.8, Version: 11.7.8, Size: 2700353K, Recommended: YES, Action: restart,
此示例没有可用的更新
% softwareupdate -l
Software Update Tool
Finding available software
No new software available.
如果你对完整安装程序的大小感兴趣,你可以列出它们
softwareupdate --list-full-installers
以下是截至今日的示例列表:
% softwareupdate --list-full-installers
Finding available software
Software Update found the following full installers:
* Title: macOS Ventura, Version: 13.4.1, Size: 11513284KiB, Build: 22F82, Deferred: NO
* Title: macOS Ventura, Version: 13.4, Size: 11511926KiB, Build: 22F66, Deferred: NO
* Title: macOS Ventura, Version: 13.3, Size: 11500012KiB, Build: 22E252, Deferred: NO
* Title: macOS Monterey, Version: 12.6.7, Size: 12115649KiB, Build: 21G651, Deferred: NO
* Title: macOS Monterey, Version: 12.6.6, Size: 12108302KiB, Build: 21G646, Deferred: NO
* Title: macOS Monterey, Version: 12.6.5, Size: 12115811KiB, Build: 21G531, Deferred: NO
* Title: macOS Monterey, Version: 12.6.4, Size: 12116269KiB, Build: 21G526, Deferred: NO
* Title: macOS Big Sur, Version: 11.7.8, Size: 12120994KiB, Build: 20G1351, Deferred: NO
* Title: macOS Big Sur, Version: 11.7.7, Size: 12121126KiB, Build: 20G1345, Deferred: NO
* Title: macOS Big Sur, Version: 11.7.6, Size: 12120959KiB, Build: 20G1231, Deferred: NO
* Title: macOS Big Sur, Version: 11.7.5, Size: 12120799KiB, Build: 20G1225, Deferred: NO
* Title: macOS Big Sur, Version: 11.6.6, Size: 12121263KiB, Build: 20G624, Deferred: NO
* Title: macOS Big Sur, Version: 11.6.5, Size: 12121404KiB, Build: 20G527, Deferred: NO
* Title: macOS Big Sur, Version: 11.6.4, Size: 12147782KiB, Build: 20G417, Deferred: NO
* Title: macOS Big Sur, Version: 11.6.3, Size: 12143674KiB, Build: 20G415, Deferred: NO
* Title: macOS Big Sur, Version: 11.6.2, Size: 12141944KiB, Build: 20G314, Deferred: NO
* Title: macOS Big Sur, Version: 11.6.1, Size: 12137180KiB, Build: 20G224, Deferred: NO
* Title: macOS Big Sur, Version: 11.5.2, Size: 12149332KiB, Build: 20G95, Deferred: NO
* Title: macOS Catalina, Version: 10.15.7, Size: 8055650KiB, Build: 19H15, Deferred: NO
* Title: macOS Catalina, Version: 10.15.7, Size: 8055522KiB, Build: 19H2, Deferred: NO
* Title: macOS Catalina, Version: 10.15.6, Size: 8055450KiB, Build: 19G2021, Deferred: NO
* Title: macOS Mojave, Version: 10.14.6, Size: 5896894KiB, Build: 18G103, Deferred: NO
我希望这回答了你的问题。