Re: [Samba] how to call an executable script each time a file is created or modified
On Wed, 15 Oct 2003, dave giffin wrote: is it possible to have a samba daemon call an executable script each time a file within one of it shares is modified or a new file is created? Yes. You will need to write a VFS module to do that. Suggest you start with Samba-3.0.1pre CVS code. Look in the directory: ~samba/sources/modules There are a few sample modules in that directory that will give you the idea. I'm looking to develop a file catalogging system for my file server which depends on my software being notified each time a file is modified or a new file created. You will need to craft your own module. Please do contribute your solution to add to the choices already there. - John T. This allows the modified/new file to be scanned for relavent information. :) __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com -- John H Terpstra Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] how to call an executable script each time a file is created or modified
is it possible to have a samba daemon call an executable script each time a file within one of it shares is modified or a new file is created? I'm looking to develop a file catalogging system for my file server which depends on my software being notified each time a file is modified or a new file created. This allows the modified/new file to be scanned for relavent information. :) __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] how to call an executable script each time a file is created or modified
On Wed, Oct 15, 2003 at 11:49:31PM -0700, dave giffin wrote: is it possible to have a samba daemon call an executable script each time a file within one of it shares is modified or a new file is created? I'm looking to develop a file catalogging system for my file server which depends on my software being notified each time a file is modified or a new file created. This allows the modified/new file to be scanned for relavent information. You need to write yourself a Samba VFS module. Start with the sample one shipped with Samba. Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba