Google
  Web www.spinics.net

Re: Find latest RPM in directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi Herta,

> Would `ls -ltr` do?

No, because I can't rely on timestamps. They may have recently been
copied there. I'd really like to read the RPM headers and let it tell
me which is the latest.

I know you can use perl-RPM to manipulate the --query-format
command-line syntax, which I understand to be the most reliable, but
it's more complicated than I can do.

Thanks,
Alex
--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite Photos]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Linux Resources]     [Fedora Users]

Add to Google Powered by Linux