Find the Date a Port Was Installed
Colin Percival
cperciva at freebsd.org
Wed May 17 15:45:01 PDT 2006
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
More information about the freebsd-questions
mailing list