We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here. 

Forum Discussion

Stephen B.25's avatar
Stephen B.25
Collaborator | Level 9
2 years ago

linux inotify on file in Dropbox: no notification of update

I want to send a message between two of my Dropbox devices which are otherwise invisible to each other.   I am trying to do this by updating content of a file.   $echo test > ~/Dropbox/compound ...
  • Stephen B.25's avatar
    Stephen B.25
    2 years ago

    Ah that's it. inotify watches the file's handle not the name. So if Dropbox creates a new file then inotify loses its reference. 

     

    So I have created a dedicated message subdirectory in Dropbox and put the watch on that *directory*. Now I am notified of changes to 'the file'

     

    Thanks very much for your help. 

     

About Dropbox tips & tricks

Node avatar for Dropbox tips & tricks

Learn how to get the most out of Dropbox with other users like you.

391 PostsLatest Activity: 7 hours ago
322 Following

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!