Skip to content
Advertisement

Tag: synchronization

Linux synchronization without polling

In principle what I want is very simple. Two executables ./read and ./write respectively read and write from a resource (let’s say a file). Using flock(2) it is easy to prevent race conditions between arbitrary invocations of ./read and ./write at arbitrary times. The requirement is that each invocation of ./read contains a snapshot of the resource from a previous

How do I detect when a Dropbox folder has been updated?

I have a folder with files that are being sychronized between computers. After the files have been uploaded from computer A, I would like to copy them from computer B’s Dropbox folder to another folder. How can I detect when the Dropbox folder has been updated? I can check the Dropbox folder periodically, but maybe there is a more elegant

Advertisement