How to make a list of xth latest files in a dir and sub-dir?
Posted on 2003-11-06
I'm looking for a script that will search through a dir and its subdirs and return in a list (html file), the 10 or 20 most recent files, according to last modified timestamp (regardless of file type). Preferably the list will have a link to each of the files (the dir is a sub dir of my htdocs folder). I'm running Apache 2.0.48 on Win XpPro and have perl 5.6.1 installed. No real experience with perl so don't get too techie on me!!! ;-)