aboutsummaryrefslogtreecommitdiff
path: root/backup
diff options
context:
space:
mode:
authorMarvin Borner2020-03-30 13:03:51 +0200
committerMarvin Borner2020-03-30 13:03:51 +0200
commitc5f1b06fd6e446fa9f1b18157a21e99698a605ec (patch)
treeb703fe5a0a0ec2162f1149cc49865a79ed4689a3 /backup
parent6757d99ba99d4abfbbbc54fd9841aacf6243b03b (diff)
Automagic backup script
Diffstat (limited to 'backup')
-rwxr-xr-xbackup21
1 files changed, 21 insertions, 0 deletions
diff --git a/backup b/backup
new file mode 100755
index 0000000..2c082f9
--- /dev/null
+++ b/backup
@@ -0,0 +1,21 @@
+#!/usr/bin/env sh
+
+# Scripts
+cp -r "$HOME"/.scripts/ .
+
+# Configs
+cp "$HOME"/.config/dunst/dunstrc .config/dunst/
+cp "$HOME"/.config/gtk-2.0/* .config/gtk-2.0/
+cp "$HOME"/.config/gtk-3.0/* .config/gtk-3.0/
+cp "$HOME"/.config/nvim/init.vim .config/nvim/
+cp "$HOME"/.config/zathura/zathurarc .config/zathura/
+
+# Repos
+cp -r "$HOME"/.repos/* .repos/
+find .repos/ -type d -name ".git" -exec rm -rf {} +
+
+# Inits
+cp "$HOME"/.bash_profile "$HOME"/.bashrc "$HOME"/.xinitrc "$HOME"/.Xresources .
+cp -r "$HOME"/.lein .
+
+git status