I have a group of files some beginning with the similar name and date it was created at the end of the filename. For example, john_smith_2005-04-16
john_smith_2005-04-10
joe_harris_2005-04-01
joe_harris_2005-04-03
I need a way to get the latest version of a group of files, for
example I need to get only john_smith_2005-04-16 and joe_harris_2005-04-03 since these are the latest within their group.
How can I do this in a shell script ?
Thank you for any suggestions.
olmos
john_smith_2005-04-10
joe_harris_2005-04-01
joe_harris_2005-04-03
I need a way to get the latest version of a group of files, for
example I need to get only john_smith_2005-04-16 and joe_harris_2005-04-03 since these are the latest within their group.
How can I do this in a shell script ?
Thank you for any suggestions.
olmos