/ Published in: Bash

This is useful for syncing two folders on different computers over ssh (the default transport of rsync).
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
rsync -av --delete user@host:/home/ronen/folder/ /home/ronen/folder/ # the --delete enables rsync to delete files
Comments
