Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Nov 2012 23:25:11 +0200
From:      Alexander Kapshuk <alexander.kapshuk@gmail.com>
To:        freebsd@dreamchaser.org
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>, Bernt Hansson <bah@bananmonarki.se>
Subject:   Re: ports: deinstall-all
Message-ID:  <50A800B7.7080809@gmail.com>
In-Reply-To: <50A1F06F.7080602@bananmonarki.se>
References:  <50A16467.6090406@dreamchaser.org> <50A1F06F.7080602@bananmonarki.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/13/2012 09:02 AM, Bernt Hansson wrote:
> If you really want to remove all installed ports you can do as I do
>
> pkg_delete -f \* 
Perhaps not an ideal solution, but rather an alternative one, which 
works in bourn-derived shells:

# for p
in `pkg_info -ao | grep '.*/.*' | sed 's;.*;/usr/ports/&;'`
{
cd $p && make deinstall
}




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50A800B7.7080809>