On Mon, 9 Feb 2004 02:51:02 -0500, Charles R. Anderson wrote: > > Be sure to use -qplv, so you get to see file permissions, ownerships and > > sizes. > > Except dates and times will always change, so the case without -v is > nice to see too, so you only see missing/new files/paths in the diff > output. > > This might be a nice alternative, for comparing everything but the > timestamps and file sizes of the binary rpms: > > rpm -qplv file.rpm | awk '{print $1,$2,$3,$4,$8,$9}' Of course. I have a similar one in my .bashrc for ages, which keeps -p optional, uses printf for improved readability and. Only minor differences. And a non-verbose version: $ rpmls m4 -rwxr-xr-x /usr/bin/m4 drwxr-xr-x /usr/share/doc/m4-1.4.1 -rw-r--r-- /usr/share/doc/m4-1.4.1/NEWS -rw-r--r-- /usr/share/doc/m4-1.4.1/README -rw-r--r-- /usr/share/info/m4.info-1.gz -rw-r--r-- /usr/share/info/m4.info-2.gz -rw-r--r-- /usr/share/info/m4.info-3.gz -rw-r--r-- /usr/share/info/m4.info.gz -rw-r--r-- /usr/share/locale/fr/m4.msg --