Sort files by filename

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

 



This is really a general linux question. I have a series of files in a format like this:

XXXX20070515_112011_942_10.bz2
XXXX20070515_112011_942_12.bz2 etc,

and I am trying to find a way to do 2 things, one, sort these files in order, and then once in order, find the files that are numerically missing based on the last 2 numbers in the file name. So if I have (as above I want to know that file XXXX20070515_112011_942_11.bz2 is missing. Can someone get me started on this, I'm stumped.


--
Recedite, plebes! Gero rem imperialem!


Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours support


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux