[Tutor] globbing and sorting and dating, oh my!

Kirk Bailey idiot1 at netzero.net
Sat Feb 21 01:51:57 EST 2004

Hello gang, I have an interesting task. I want to add a WHAT'S NEW 
feature to my wiki. This must build a list of all files in the wiki 
(glob.glob to the rescue for a simple list of files in the library of 
pages) and sort them out according to AGE since last written to, 
delete those older than X days, take what is left and convert the time 
stamp to something a human could read without being a un*x geek. Once 
the data is converted to human preferences, I will take the results 
and spew it in a html page, one per line, with the usual suspects 
providing html markup, after which I will run of and hide for a few 

Anyone got some suggestions on accomplishing this task?



   think   http://www.tinylist.org/ - $FREE$ software for liberty
+-------+ http://www.pinellasintergroupsociety.org/ - In Her Service
|  BOX  | http://www.listville.net/ - $FREE$ list hosting services
+-------+ http://www.howlermonkey.net/ - $FREE$ email service
   kniht   http://www.sacredelectron.org/ - My personal SCREED pit
          (C)2004 Kirk D Bailey, all rights reserved- but ask!

More information about the Tutor mailing list