On Aug 23, 2006, at 8:55 PM, Andrew Ross wrote:
Hi All.
Is there a way to list only files when querying a package list?
rpm -qlv pkg | grep '^-'
Or alternatively is there a way to get the type of the file (directory, file, symlink, hardlink, etc.) from a query?
rpm -qlv pkg looks like ls -al output.