4 Apr
2014
4 Apr
'14
9:24 p.m.
On Thu, Apr 3, 2014 at 9:12 PM, Lukas Jirkovsky <l.jirkovsky@gmail.com> wrote:
If you have enough time, I would try using pkgfile to recover the installed packages. I thing something like this should suffice: # update the pkgfile database pkgfile -u # find the package names for all binaries find /usr/bin -type f -exec pkgfile '{}' ';' | uniq
Good idea. But just a little correction, use `sort` or else `uniq` will not work properly: find /usr/bin -type f -exec pkgfile '{}' ';' | sort | uniq -- Rodrigo