I have several years of files from our security system. The names are in this type format, as an example:
name of room. year month date _ hour minutes seconds
What I'd like to do is find a way to go through and delete any file that has an 'hour' between, for instance, 01 and 06 (so any file between 1:00AM and 6:00AM). To do this I'd need to be able to somehow filter based on the right 5th and 6th digits, or the two digits to the right of the "_". Not sure the best way to do this.
There are over 500,000 of these files, so manually is not an option
Let me know if any suggestion