How to syncronize/backup my home directory?
Is there a switch for cp that will let me syncronize files between two locations? I want to backup the entire contents of my home directory on a daily basis but rather than doing a "blind" copy from point A to poin B, I want cp to mirror my home directory structure so that any files or directories that have been renamed, moved, or deleted will also be renamed, moved, or deleted at the destination.
I suppose I could rm -rf the old location before each copy but I'm hoping for a better solution.
It doesn't have to be cp either. If there's some other command that will work better, that's fine too. I looked into tar'ing my home directory but I don't see any mirror/remove old files/sync options for tar either.