Caching Apple Software Updates

bentoms
Release Candidate Programs Tester

Hi guys,

Anyone know where the command: sudo softwareupdate -d -a Downloads updates too?

I'm looking at utilising iHook to assist with patch management & user notification. i.e. it'll report back how many cached packages there are & how many downloaded updates then install at the logout/restart/shutdown triggers.

Ben Toms
IT Support Analyst GREY Group
The Johnson Building, 77 Hatton Garden, London, EC1N 8JS
T: +44 (0) 20-3037-3819 |
Main: +44 (0) 20 3037 3000 | IT Helpdesk: +44 (0) 20 3037 3883

Grey Communications Group Limited
Registered No. 1795794, Registered in England
Registered Office The Johnson Building, 77 Hatton Garden, London, EC1N 8JS
VAT Number GB 404 6245 78

3 REPLIES 3

Not applicable

Tom,

I ran the command and it downloads the updates to the Downloads folder of the user who is logged in. so for me it downloaded it to /Users/gallaghersj/Downloads I don’t know what would happen if you ran this command against someone's machine remotely through ssh or something.

Sean

jarednichols
Honored Contributor

I would think it would end up in that users' downloads folder. If it's a hidden ssh account it would be in /var/<accountname>/downloads.

j
--
Jared F. Nichols
Desktop Engineer, Client Services
Information Services Department
MIT Lincoln Laboratory
244 Wood Street
Lexington, Massachusetts 02420
781.981.5436

bentoms
Release Candidate Programs Tester

It appears to download to /Library/Updates/

Thanks all!

Ben Toms
IT Support Analyst GREY Group
The Johnson Building, 77 Hatton Garden, London, EC1N 8JS
T: +44 (0) 20-3037-3819 |
Main: +44 (0) 20 3037 3000 | IT Helpdesk: +44 (0) 20 3037 3883