Sync Emacs configuration files ver 20140410
I have multiple environments to use Emacs and keep considering how to sync these configuration files. This is how to sync version 20140410. Login new environment and execute following commands, my Emacs configurations are built up.
- scp root@$BACKUPSERVERS:.skk* .
- cd $HOME/.emacs.d
- mkdir auto-install
- mkdir auto-save-list
- mkdir auto-saved-scratch
- mkdir hatena-diary
- mkdir lisp
- mkdir share
- mkdir themes
- scp root@$BACKUPSERVERS:.emacs.d/*.el .
- cd auto-install
- scp root@$BACKUPSERVERS:.emacs.d/auto-install/*.el .
- cd ../hatena-diary
- scp root@$BACKUPSERVERS:.emacs.d/hatena*/*.el .
- cd ../themes
- scp root@$BACKUPSERVERS:.emacs.d/themes/*.el .
My personal skk-dictionaries are $HOME/.skk-jisyo, $HOME/.skk-jisyo.bak, $HOME/.skk-record.
At the first time, sync these files. If I would remove any files at local, I have to remove them from $BACKUPSERVERS too.