10f35 find modified file since a specific date - Perl Programming
Training, Open Source computer languages
PerlPHPPythonMySQLApache / TomcatTclRubyJavaC and C++LinuxCSS 
Search for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
find modified file since a specific date

Posted by wei (wei), 4 May 2007
Hi

i wish to locate all modified file from a specifc date to current date, any idea on how to do it ?

thanks

Posted by admin (Graham Ellis), 5 May 2007
In Perl, have a look at this example that finds the largest files in or under a directory.  The -M rather than -s flag lets you check on how long ago the file was last modified rather than its size.

On a Unix / Linux bot, though, I would probably use teh operating systems's find command rather than rolling my own.



This page is a thread posted to the opentalk forum at www.opentalk.org.uk and archived here for reference. To jump to the archive index please follow this link.

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2013: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 899360 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho
0