Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 2003 17:06:33 -0700
From:      "Drew Tomlinson" <drew@mykitchentable.net>
To:        "FreeBSD Questions" <freebsd-questions@freebsd.org>
Subject:   Portupgrade Command Syntax
Message-ID:  <010201c302e2$e032dcc0$6e2a6ba5@tagalong>

next in thread | raw e-mail | index | archive | help
I've been trying to construct a command line that will pkg_deinstall all
except for a few.  I've found the -x switch but can not build an "or"
pkgname_glob.  Here's an example of one of the many combinations I tried:

pkg_deinstall -n -x {'XFree86*','webmin','ruby*'} '*'

This particular example will exclude the XFree packages but includes webmin
and ruby*.

My shell is tcsh.  Is it possible to accomplish what I'm trying to do?  How?

Thanks,

Drew



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?010201c302e2$e032dcc0$6e2a6ba5>