1

rsync command is used to sync two devices but in that I have to give the command each time when I switch on my PC and then it starts to work. Does rsync daemon helps to synchronize two devices automatically and continuously? Like whenever I switch on my PC, rsync command run automatically and update files between two devices.

  • 4
    No, rsync runs on demand. – Satō Katsura Feb 23 '17 at 7:40
  • If I install rsync daemon in my device, then is it possible? – user217567 Feb 23 '17 at 8:36
2

No, rsync is for synchronising files between two PC on demand (and only then).

rsyncd, i.e. the daemon allows setting up a PC as a file server and allows finely graining access rights, i.e. who (or which user group) may access which files with which file permissions.

If you want this to be done regularly, you'll have to set up a(n) (ana)cronjob or, for one-time synchronisation upon booting, a boot script would work,too.

| improve this answer | |
1

rsync in daemon mode just gives you a way to send/receive data to the server without using other protocols such as ssh. It can be useful for speeding up the data transfer for example, or when ssh or other protocols are not available. Also look on "unison", it seems to me that it can be useful in your case.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.