[KLUG Members] Best command to monitor file size change over time?

Bruce Smith members@kalamazoolinux.org
Wed, 25 Jul 2001 17:25:47 -0400


> I am looking for a good Unix command (find?) or Korn shell script
> that will look for a file at a given time and monitor it for file
> size stability ( does not grow in size for say 1 minute ), then
> retrieve that file.

Can you be more specific?  

The "find" command is for finding local files where you don't know 
what directory the file lives in.

It would be trivial to write a script to write a small shell script
to monitor a file to see if the size or contents of a files changes
in 60 seconds (assuming you have access to the file).

And what do you mean by "retrieve" the file?  Where is the file?
Is it somewhere other than a local Linux box?  Web page?  FTP???

--------------------------------------------
Bruce Smith                bruce@armintl.com
System Administrator / Network Administrator
Armstrong International, Inc.
Three Rivers, Michigan  49093  USA
http://www.armstrong-intl.com/
--------------------------------------------