Find the Date a Port Was Installed
Jeff Cross
jeff.cross at averageadmins.com
Wed May 17 17:15:13 PDT 2006
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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>
>
Thanks for the help, guys. This is exactly what I was looking/hoping for.
Jeff
More information about the freebsd-questions
mailing list