From owner-freebsd-questions@FreeBSD.ORG Wed Jun 11 06:19:13 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBA02106566C for ; Wed, 11 Jun 2008 06:19:13 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id 56A248FC2A for ; Wed, 11 Jun 2008 06:19:12 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so2391688fgb.35 for ; Tue, 10 Jun 2008 23:19:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=xj9VzMS1PctczGHthNMkKITZ8xhcwbZUnxw2fPdazrI=; b=hlQePWyOiLQdZ7sxTkCvYfp+UhY2OY4u5PSGgY06Z3SH2Bj4Anx+XHrjV0J2zkoer1 Rt69qZmYMJcypEVo9BQhaNeX3wMDvtnYHBHAU9Lsa0m1GCLaL9JO0nKx+4/zjiEgMtGV TdiJGoZLL6btdwu3ixxLjLZZGrzZORRQhtGAQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=mKHWzLKvn0Ak7soUv6RLmxSUnczlKZiyC5KjR1YEddqI2ORbJLgPmGNEbB9g7iGUs1 3wMRY97epxgs/BS/rVsBC672xeG//PLDburFI4mHNlIVxx3YlFeEqOqXw29g1gkXTgR3 NuEPPJ+gwkdklE3ZDNqy8xTEMS3L57PaIvq9Q= Received: by 10.86.89.1 with SMTP id m1mr6644753fgb.45.1213163544138; Tue, 10 Jun 2008 22:52:24 -0700 (PDT) Received: by 10.86.26.8 with HTTP; Tue, 10 Jun 2008 22:52:24 -0700 (PDT) Message-ID: <7d6fde3d0806102252m7c329be9nb715213558684157@mail.gmail.com> Date: Tue, 10 Jun 2008 22:52:24 -0700 From: "Garrett Cooper" To: Novembre In-Reply-To: <3b47caa90806102209w5161d96cjdd41d55f0315429c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3b47caa90806102209w5161d96cjdd41d55f0315429c@mail.gmail.com> Cc: FreeBSD Questions , freebsd-ports@freebsd.org Subject: Re: how to determine the date a port is installed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2008 06:19:13 -0000 On Tue, Jun 10, 2008 at 10:09 PM, Novembre wrote: > Hi all, > > Two questions: > 1) Is it possible to determine the date a port/package is installed? > 2) How can I delete all the ports/packages installed after a certain date? > > Thanks a lot :) 1. Please don't cross-post. 2. ls -lt /var/db/pkg/*/+DESC piped to whatever language you want to analyze the dates will provide you the result you want, _unless_ either you modified the file(s) Cheers, -Garrett