Hey guys\gals,
I am fairly new to linux, but have fully converted from Microsoft. Linux is awesome. Anyway here's my problem; I have a laptop that travels with me everywhere (mostly college, work, etc, running kubuntu 8.04) and a desktop at home (also running kubuntu 8.04). I want to keep the home dir on both machines in sync. My ideal solution would be to have it sync automatically. So when I come home at night I can dock my laptop, or connect to my wireless network without the dock and have a cron job (just as an example) that is running, notices that I'm connected to my network, and it automatically starts syncing my laptop home dir with my home dir on my desktop. Is rsync the way to go? If so does someone have a shell script that does this? What are my options? Can this be accomplished? Is this a stupid idea? Also, this isn't a big deal or requirement, but would it be possible to do the same sync over an ssh tunnel? I'm a big user of tunnels when I'm not at home to securely connect to my home network. Any thoughts, suggestions, advice would be much appreciated.
Thanks,
Mobi
I am fairly new to linux, but have fully converted from Microsoft. Linux is awesome. Anyway here's my problem; I have a laptop that travels with me everywhere (mostly college, work, etc, running kubuntu 8.04) and a desktop at home (also running kubuntu 8.04). I want to keep the home dir on both machines in sync. My ideal solution would be to have it sync automatically. So when I come home at night I can dock my laptop, or connect to my wireless network without the dock and have a cron job (just as an example) that is running, notices that I'm connected to my network, and it automatically starts syncing my laptop home dir with my home dir on my desktop. Is rsync the way to go? If so does someone have a shell script that does this? What are my options? Can this be accomplished? Is this a stupid idea? Also, this isn't a big deal or requirement, but would it be possible to do the same sync over an ssh tunnel? I'm a big user of tunnels when I'm not at home to securely connect to my home network. Any thoughts, suggestions, advice would be much appreciated.
Thanks,
Mobi
Comment