I only want to keep the newest, say, 4 of each of the files. I can't write a script that just deletes anything older than a certain time from when it runs, as the files don't have consistent ...
I have PDFs in a directory that I would like to sort based on a portion of their filename. I've come up with a solution (cobbled together from Google searches) that mostly works but am wondering if ...