On Thu, Dec 09, 2010 at 11:32:58PM -0800, Bill Barry wrote: > Does anyone know of a way of listing all the files in a directory > along with the Debian package they came from.
"dpkg -S" does that. It'll produce the package that any file argument may have come from. You can use shell globbing to feed it an entire directory's worth of files. $ dpkg -S /usr/bin/zip* zip: /usr/bin/zip zip: /usr/bin/zipcloak unzip: /usr/bin/zipgrep unzip: /usr/bin/zipinfo zip: /usr/bin/zipnote zip: /usr/bin/zipsplit -- Paul _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
