[NBLUG/talk] Ubuntu

Eric Eisenhart eric at nblug.org
Tue Nov 29 21:40:54 PST 2005


On Tue, Nov 29, 2005 at 05:13:51PM -0800, Chris Palmer wrote:
> (That reminds me, I should probably figure out how to make Mac OS X
> silently apply all and only security updates...)

Applying all:
softwareupdate -i -a

Only security updates; maybe something like this:
softwareupdate -i `softwareupdate  -l | grep SecUpd | cut -d'!' -f2`
?

(Both a >/dev/null away from "silent")

I haven't checked all the short names for Security Updates, but today's is
"SecUpd" and I think previous ones have been, too.  A more robust
implementation would require a bit of perl and reading in lines with ! and
the lines following until a blank line, then parsing that "paragraph" for
the word "Security" and pulling the bit after the ! out as the package name.
-- 
Eric Eisenhart
NBLUG Co-Founder, Scribe and InstallFest Coordinator
The North Bay Linux Users Group -- http://nblug.org/
eric at nblug.org, IRC: Freiheit at fn AIM: falschfreiheit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://nblug.org/pipermail/talk/attachments/20051129/215ad161/attachment.pgp


More information about the talk mailing list