Filter Files Base Upon Date in Filename?


I'm naming many files with a date in the filename which is not corresponding to the created or modified timestamps of the file itself.


Is it possible to filter those files by using the mentioned part of the filename (convert it into a timestamp) and compare it with the current date to find out which files are older than 2 years?


OK, since there is obviously no filter possible, maybe an alternate approach.

Can I do some (JS-)scripting to extract the date from the filename and call TOUCH (presumbly DO provides such a command) to change the file's modification date (leave the time as it is)?


Both filtering and changing the timestamps are possible via a script.