List/remove files, with filenames containing string that's "more than a month ago"?
- by Martin Tóth
I store some data in files which follow this naming convention:
/interesting/data/filename-YYYY-MM-DD-HH-MM
How do I look for the ones with date in file name < now - 1 month and delete them?
Files may have changed since they were created, so searching according to last modification date is not good.
What I'm doing now, is filter-ing them in…