Say you have two computers with different hardware (two laptops or a laptop and a desktop) that you want to use alternatively. For example, I am using the comfortable desktop now, and want to mirror all documents and settings to a laptop to travel, and then push changes back to the desktop when back at home. Both have same OS (Ubuntu 14.04LTS 64bits), same installed packages and (for the sake of simplicity) a single user (same name, same password).
Here is how you can sync (I will use rsync over SSH on a direct Ethernet cable between two laptops) and here is what you should sync to mirror folders and settings. Also, here you can find a great list of files and folders that may be left out for efficiency when the goal is a backup (though some may be useful in this case, like histories, recent files or some caches) and, again, here is a nice and practical way to do it in rsync.
I know that most hardware-specific configuration files should be out of user folders by design. Still, there are any files/folders within
/home that must be left out of this sync to avoid configuration problems between different hardwares?