Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 May 2006 19:15:06 -0500
From:      Jeff Cross <jeff.cross@averageadmins.com>
To:        Colin Percival <cperciva@freebsd.org>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Find the Date a Port Was Installed
Message-ID:  <446BBC8A.8010205@averageadmins.com>
In-Reply-To: <446BA709.9020507@freebsd.org>
References:  <446BA41F.5090905@averageadmins.com> <446BA709.9020507@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Colin Percival wrote:
> Jeff Cross wrote:
>> Is it possible to determine which ports weren't upgraded so I can deal
>> with them manually or is it possible to show the install date for all
>> ports?  If I can pull the install date for all of them I can see which
>> ones are older than today and deal with them individually.
> 
> # stat -f "%Sm %N" /var/db/pkg/*/+COMMENT | cut -f 1,5 -d / | tr -d /
> 
> Replace "%Sm" with %m" if you want the install dates as seconds-since-epoch.
> 
> Colin Percival
> 
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 
> 
> 
Thanks for the help, guys.  This is exactly what I was looking/hoping for.

Jeff



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?446BBC8A.8010205>