Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

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

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
    3 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

Learn how to get the most out of Dropbox with other users like you.394 PostsLatest Activity: 4 hours ago
449 Following

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

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, Facebook or Instagram.

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!