I need to run through a load of directories, and end up with a list of files that have not been used for the past 3 months. The files do have a date within the title, but as all the file names have been entered manually, they vary:
Code:
title-dd - mm - yy
title-dd-mm-yy
title-dd-mm-yy
title dd - mm - yy
title dd-mm-yy
titledd-mm-yy[\code]
The different formats go on, believe me!
I have created a perl5 script to deal with some of this formatting, but it is not ideal, and there are some files that get missed out.
What would make it one hundred times easier, would be able to get hold of the date created or date last modified part of the file - then I could easily get rid of files I didn't want, without having to deal with essentially incompetent file naming ;-)
I hope I have provided you with all the information you need to solve this head scratcher....
Cheers
the mince-fish...