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 |

freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to