Quote:
Originally Posted by shep
Is there a script that would do this?
|
It is fairly straightforward to pass the output of
pkg_info(1) to
pkg_delete(1):
Code:
#/bin/sh
for f in $(pkg_info | awk '{ print $1 }') ; do
echo "pkg_delete -F $f"
done
This code is merely illustrative, but it should give you enough information to complete bulk deletion yourself.