I have a directory of files with similar names, but with incrementing digits as a suffix. I want to remove the lower suffixed files and only keep the files with the highest suffix. Below is an example file listing:
The above list needs to be reduced to the files below:
I don't even know where to start with this, but if possible I would like a single bash command.