how to determine the date a port is installed
Jeremy Chadwick
koitsu at FreeBSD.org
Wed Jun 11 05:41:25 UTC 2008
On Wed, Jun 11, 2008 at 12:09:33AM -0500, Novembre wrote:
> Two questions:
> 1) Is it possible to determine the date a port/package is installed?
ls -ld /var/db/pkg/<port>, use the mtime of the directory.
> 2) How can I delete all the ports/packages installed after a certain date?
Use a combination of find with the -mtime flag, and pkg_delete.
--
| Jeremy Chadwick jdc at parodius.com |
| Parodius Networking http://www.parodius.com/ |
| UNIX Systems Administrator Mountain View, CA, USA |
| Making life hard for others since 1977. PGP: 4BD6C0CB |
More information about the freebsd-questions
mailing list