in reply to File manipulation

You can get the age of the file with  -M "$path/$file" or with stat. Take a look at localtime, Date::Manip or Date::Calc for info how to handle those difficult date formats.....

Hope this helps,

Jeroen
"We are not alone"(FZ)