which inotify event signals the completion of a large file operation?

Posted by Jeremiah Rose on Stack Overflow See other posts from Stack Overflow or by Jeremiah Rose
Published on 2010-05-24T06:36:06Z Indexed on 2010/05/24 6:41 UTC
Read the original article Hit count: 333

Filed under:
|
|

for large files or slow connections, copying files may take some time.

using pyinotify, i have been watching for the IN_CREATE event code. but this seems to occur at the start of a file transfer. i need to know when a file is completely copied - it aint much use if it's only half there.

when a file transfer is finished and completed, what inotify event is fired?

© Stack Overflow or respective owner

Related posts about python

Related posts about inotify