2019-05-02 01:13:32 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# this little script backs up all the config files that matter
|
|
|
|
|
|
|
|
dotfiles=~/utils/dotfiles
|
|
|
|
|
2019-05-29 00:34:52 +02:00
|
|
|
params="auP"
|
|
|
|
if [ "$1" == "-d" ]; then
|
|
|
|
params="aunP" # rsync -n for dry run
|
|
|
|
fi
|
2019-05-02 01:13:32 +02:00
|
|
|
|
2019-05-29 00:34:52 +02:00
|
|
|
rsync -$params /etc/X11/Xresources $dotfiles/etc/X11
|
2019-05-02 01:13:32 +02:00
|
|
|
|
2019-05-29 00:34:52 +02:00
|
|
|
rsync -$params /etc/default/tlp $dotfiles/etc/default
|
|
|
|
rsync -$params /etc/default/tlp.rpmnew $dotfiles/etc/default
|
2019-05-02 01:13:32 +02:00
|
|
|
|
2019-05-29 00:34:52 +02:00
|
|
|
rsync -$params ~/alltheconfigs.sh $dotfiles
|
2019-06-10 02:19:03 +02:00
|
|
|
rsync -$params ~/mgp $dotfiles
|
2019-05-02 01:13:32 +02:00
|
|
|
|
2019-05-29 00:34:52 +02:00
|
|
|
rsync -$params ~/.vim/vimrc $dotfiles/vimrc
|
|
|
|
rsync -$params ~/.gvimrc $dotfiles/gvimrc
|
|
|
|
rsync -$params ~/.zshrc $dotfiles/zsh/zshrc
|
2019-05-02 01:13:32 +02:00
|
|
|
|
2019-05-29 00:34:52 +02:00
|
|
|
rsync -$params ~/.config/compton.conf $dotfiles/config
|
2019-05-02 01:34:37 +02:00
|
|
|
|
2019-05-02 01:13:32 +02:00
|
|
|
|
2019-05-29 00:34:52 +02:00
|
|
|
#rsync -$params ~/MEGAsync/backups/authenticator.sh $dotfiles/backups
|
|
|
|
rsync -$params ~/MEGAsync/backups/createarchive.sh $dotfiles/backups
|
2019-05-15 04:49:18 +02:00
|
|
|
|
2019-05-29 00:34:52 +02:00
|
|
|
rsync -$params ~/MEGAsync/fedora-backup/fedora-setup/fedora-setup.sh $dotfiles/setup-env
|
|
|
|
rsync -$params ~/MEGAsync/fedora-backup/fedora-setup/deploy-dotfiles.sh $dotfiles/setup-env
|
|
|
|
rsync -$params ~/MEGAsync/fedora-backup/fedora-setup/EASetup.sh $dotfiles/setup-env
|
2019-05-15 04:49:18 +02:00
|
|
|
|
2019-05-02 01:34:37 +02:00
|
|
|
|
2019-05-29 00:34:52 +02:00
|
|
|
#rsync -$params ~/.config/openbox/autostart $dotfiles/config/openbox
|
|
|
|
rsync -$params ~/.config/openbox/rc.xml $dotfiles/config/openbox
|
|
|
|
rsync -$params ~/.config/openbox/menu.xml $dotfiles/config/openbox
|
|
|
|
#rsync -$params ~/.config/openbox/helper.sh $dotfiles/config/openbox
|
|
|
|
#rsync -$params ~/.config/openbox/mic.sh $dotfiles/config/openbox
|
|
|
|
rsync -$params ~/.config/openbox/VolumeNotify.sh $dotfiles/config/openbox
|
|
|
|
rsync -$params ~/.config/openbox/locker.sh $dotfiles/config/openbox
|
|
|
|
rsync -$params ~/.config/openbox/locker-suspend.sh $dotfiles/config/openbox
|
|
|
|
rsync -$params ~/.config/openbox/desktop-pause.sh $dotfiles/config/openbox
|
2019-05-02 01:13:32 +02:00
|
|
|
|
2019-05-29 00:34:52 +02:00
|
|
|
rsync -$params ~/.config/tint2/ $dotfiles/config/tint2
|
2019-05-15 03:14:48 +02:00
|
|
|
|
2019-05-29 00:34:52 +02:00
|
|
|
rsync -$params ~/.conky/conkyrc $dotfiles/conky
|
|
|
|
rsync -$params ~/.conky/conky.lua $dotfiles/conky
|
2019-05-15 03:14:48 +02:00
|
|
|
|
2019-05-29 00:34:52 +02:00
|
|
|
rsync -$params ~/.oh-my-zsh/themes/myowntheme* $dotfiles/zsh/oh-my-zsh/themes
|
|
|
|
rsync -$params ~/.oh-my-zsh/custom/themes/spaceship-prompt/spaceship.zsh $dotfiles/zsh/oh-my-zsh/themes/spaceship.zsh-theme
|
|
|
|
|
|
|
|
rsync -$params ~/.local/share/applications/metasploit-framework.desktop $dotfiles/desktopfiles
|
|
|
|
rsync -$params ~/.local/share/applications/flashtool.desktop $dotfiles/desktopfiles
|
|
|
|
rsync -$params ~/.local/share/applications/megasync.desktop $dotfiles/desktopfiles
|