[NTLUG:Discuss] Setting up a watch folder

Daniel Hauck daniel at yacg.com
Thu Jan 15 02:41:45 CST 2009


I have already noted iNotify but may not be able to use it for the
following reasons:

1. I am targeting SME server 7.4 which is based on CentOS 4.7 and I
don't think the kernel supports it without being patched.  (I still have
to verify that)
2. I am deathly afraid of what Apple might do to me if I use any
function or feature that begins with the letter "i"
3. So far, I have not located a "bash" way of utilizing iNotify... so
far... I mean I saw an rpm package called inotify-tools, but it wasn't
for CentOS 4.7 and certainly not SME server.  (BTW, a "yum list" reveals
no packages containing the word "notify" in the name... odds are good
that it's a negative option and justifies my assumption in reason #1.)



Ralph Green さんは書きました:
> Howdy,
>   I think I would take the opportunity to use inotify. This is a feature
> that has been in for a while that will let you get notified when the new
> file comes in.
>    http://www-128.ibm.com/developerworks/linux/library/l-inotify.html
> Good luck,
> Ralph
> 
> On Wed, 2009-01-14 at 15:53 -0600, Daniel Hauck wrote:
>> line, so that functionality is simple and works.  So now I just want to
>> set up a "watch folder" that will respond to plot files being present by
>> sending them to the plotter and then deleting the file.
> 
> 
> 
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
> 




More information about the Discuss mailing list