Ahh, here's that script I wrote: http://ben.nerp.net/scan_docs.sh

It's not complicated, and can be easily hacked up into doing lots of nifty automated things.
_________________________
80gig red mk2 -- 080000125
(No, I don't actually hate Alan Cox)