i have to take the latest file from zip in bash. OK if they were with different timestamp created :) files are like:
- file_9283208320382 DATE HOUR-MINUTE-SECCOND AM/PM.csv
- file_1283208320382 DATE HOUR-MINUTE-SECCOND AM/PM.csv
all are created in same second in the archive - for example: 12:22
is there any way to get this without taking the last string from the file as an timestamp and compare in a loop each of them.
thank you !