I have been presented with the task of getting the last file from
a linux directory when the files are of the form:
nnnnnn-xxxxxxx-.ext
where nnnnnn are 6 numeric digits and xxxxxx is variable a/n data.
I could read the entire directory in an sort, but I hope there is
an easier way.
suggestions ?
bill
a linux directory when the files are of the form:
nnnnnn-xxxxxxx-.ext
where nnnnnn are 6 numeric digits and xxxxxx is variable a/n data.
I could read the entire directory in an sort, but I hope there is
an easier way.
suggestions ?
bill
Comment