1

check all files in directory for last modify date in perl

view story
linux-howto

http://www.linuxquestions.org – I am writing a script in Perl to check the last modified date of all the files in a specific directory and make backups if they are older than 24 hours. I have two working stand alone "proof of Concept" scripts written. One will verify the last modified time since epoch and tell me if a specific file needs to be updated. The other will copy all the files in a directory to a backup location and add "bak" to the file name. What I am having trouble figuring out is how to merge both scripts so that the new finished script will check the last modified date of all files in a s (HowTos)