Synchronize config files between computers
Today, a small hint for Linux users having DropBox running on their computer. I guess everyone knows what DropBox is. . .
If not, feel free to have a look there (and win 250 more mos for me and you at the same time). In one word, DB allows to have a folder of your computer on the cloud. This way, you have access to you important files, wherever you are.
Most of us now have multiple computers (at work, at home, laptop, . . . ). All of them are configured, and often have similar configurations. And you know how important those files are in order to feel weel and have his feets on a Linux distribution.
I am used to tune my configuration files, such as my .bashrc and so. And it is quite painful to find an alias one day and have to search for it the day after on another computer.
DropBox offers a simple solution to this problem, as with symbolic links we can keep trace of our different configuration files live.
Here is the way to do it:
Create a new folder in your DropBox repo :
Move in it and create simlinks to each config file you want to backup (for example your .bashrc):
Now, you have access to a copy of your bashrc wherever you go, and may use it to tune another computer. And it works even with entire folders (like your ~/bin)
In case all you computer have the exact same configuration files, you might do the other way around, and use your DropBox folder as basis for your config files :
Be careful however, because modifications will have to be done in the DropBox folder now. And updates will only take place after your DropBox synchronization. So avoid dangerous ideas, such as synchronizing your /etc/fstab :D
That’s all for today,