Hey guys, I'm working on configuring rsync to sync my desktop home directory with the one on my laptop. I can sync everything from my desktop to my laptop just fine. However, my problems come in if I create a new file or folder on my laptop and then run the sync script, it gets deleted. I have the --delete flag enabled in the sync script but without it any new file I create is simply not copied back to my desktop.
This is doing more a backup instead of actually synchronizing the two computers together. I've looked over the man pages for rsync and been on Google for a while but I can't find anything.
Here is my rsync command...
rsync -ae "ssh -i /home/Shane/.ssh/rsync_key" --force --progress --stats --exclude-from="/home/Shane/.rsync/exclude_leslie.txt" /home/Shane/ Shane@192.168.2.4:/home/Shane/
Hopefully there is just an option that I am missing. Let me know if any more info is needed. Any help is awesome. Thanks!