Date: Tue, 10 Jun 2008 22:41:25 -0700 From: Jeremy Chadwick <koitsu@FreeBSD.org> To: Novembre <novembre@gmail.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org>, freebsd-ports@freebsd.org Subject: Re: how to determine the date a port is installed Message-ID: <20080611054125.GA15965@eos.sc1.parodius.com> In-Reply-To: <3b47caa90806102209w5161d96cjdd41d55f0315429c@mail.gmail.com> References: <3b47caa90806102209w5161d96cjdd41d55f0315429c@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080611054125.GA15965>