> well i tried reading that but that way i'll have to make the program > monitor each and every directory. > when a file is created or deleted or filename modified , a call must > be made to the os kernel . > isn't there any way i can utilize that with any api or package > functions so that i can monitor the whole filesystem but at lesser > expense of cpu n memory
On Windows W2k+, you can use the USN journal: http://msdn2.microsoft.com/en-us/library/aa364586.aspx You may have to use ctypes or write an extension module to access that journal. Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list