bozothedeathmachine
2011-04-27 14:00:29 UTC
Hi, all.
Anyone know how to generate a checksum on a directory that will change
if any contents of that directory, including subdirectories, changes?
I would like to write a script that monitors activity in a directory
and provide output if there's no activity in a certain amount of time
(~5 min). The best way I can think to do that is with checksums. If
the sum of the parent directory change after 5 minutes, generate the
output.
Thanks in advance.
Anyone know how to generate a checksum on a directory that will change
if any contents of that directory, including subdirectories, changes?
I would like to write a script that monitors activity in a directory
and provide output if there's no activity in a certain amount of time
(~5 min). The best way I can think to do that is with checksums. If
the sum of the parent directory change after 5 minutes, generate the
output.
Thanks in advance.