DEV Community

Discussion on: How I Backup/Sync my Dotfiles & Apps

Collapse
 
gwllmnn profile image
Grégoire Willmann

What I do to back up my dot files is I create a symbolic link in dropbox.

For example:

mv /home/greg/.bash_profile /home/greg/dropbox/macOS/home/greg/bash_profile 
ln -s /home/greg/dropbox/macOS/home/greg/bash_profile /home/users/greg/.bash_profile

With this setup I don't have to do a git commit & push each time I change one of my dot files :)

Collapse
 
biros profile image
Boris Jamot ✊ /

Smart idea and so simple that I didn't even think of it!