in reply to Checking for files changed
I want to scan all the files in a directory. Find the ones that have been modified since I last run the program.
opendir, readdir for reading a single directory, File::Find to read recursively. Calculate a checksum with e.g. Digest::MD5 and store filenames and checksum in a database, probably a self-contained like DBI::SQLite.
Present them on a web page.Oodles of modules here. CGI, Template::Toolkit, HTML::Template, Mason to name a few.
Select a subset of them. Save the subset to a database.JavaScript, and see above, and see above.
Copy the subset to across to another directory.
TIMTOWDI - these are just the apples I can think of that hang lowest, and are easiest to pick.
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
|
|---|