We have logs stored in the following format and there will be potentially loads of them in the folder we are looking.
What’s the best and least impactful way to get lines of file from a file with this syntax.
I also only want to retrieve the data from the latest ones in an Analysis
/location/log_$(hostname)_$(date +%d).out