Rsync configuration problems... backup not sync
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... Code:
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/ |
I'm sure in the man pages there is a command that syncs both ways, if you get me! Checks the timestamp on the files or something
Just from here: Quote:
|
I figured out that rsync isn't the program to use for two way syncs. Unison is the way to go. It's working beautifully and everything is well now. :)
|
All times are GMT -5. The time now is 09:07 AM. |