John P <[EMAIL PROTECTED]> wrote:
> >
> >     @400000003a8bf1aa33d789ac.s
> >     @400000003a8c1ee106d5040c.s
> >     @400000003a8cb8c72584e19c.s
> >     @400000003a8d8c130207ff24.s
> >     @400000003a8ee3b217506fec.s
> >     @400000003a90ad7a24735644.u
> >     @400000003a90c3cd0b5ae604.u
> 
> Is there an easy way to convert these filenames to dates etc. (or any
> sequential coding eg. messages.0, messages.1 etc) for past reference?

Those are sequential, in fact, just not contiguous.  Any alphabetical sort
on them will always give them to you sorted oldest-to-newest, just like if
they were named "log.1", "log.2", etc.  And as someone else suggested,
`ls | tai64nlocal` works a treat for figuring out when it was rotated out.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------

Reply via email to