Add safety net for rsync backups
This commit is contained in:
parent
cda6e01cb0
commit
8dee5c3c42
@ -21,23 +21,23 @@ mkdir ~/old_dat
|
||||
|
||||
#back stuff up
|
||||
#config folders
|
||||
rsync -ah --progress ~/.config/MangoHud ~/old_dat/.config/ > /dev/null
|
||||
rsync -ah --progress ~/.config/autostart ~/old_dat/.config/ > /dev/null
|
||||
rsync -ah --progress ~/.config/fish ~/old_dat/.config/ > /dev/null
|
||||
rsync -ah --progress ~/.config/gtk-3.0 ~/old_dat/.config/ > /dev/null
|
||||
rsync -ah --progress ~/.config/i3 ~/old_dat/.config/ > /dev/null
|
||||
rsync -ah --progress ~/.config/neofetch ~/old_dat/.config/ > /dev/null
|
||||
rsync -ah --progress ~/.config/openbox ~/old_dat/.config/ > /dev/null
|
||||
rsync -ah --progress ~/.config/polybar ~/old_dat/.config/ > /dev/null
|
||||
rsync -ah --progress ~/.config/termite ~/old_dat/.config/ > /dev/null
|
||||
rsync -ah --progress ~/.config/variety ~/old_dat/.config/ > /dev/null
|
||||
rsync -ah --progress ~/.config/MangoHud ~/old_dat/.config/ > /dev/null || echo"Directory does not exist"
|
||||
rsync -ah --progress ~/.config/autostart ~/old_dat/.config/ > /dev/null || echo"Directory does not exist"
|
||||
rsync -ah --progress ~/.config/fish ~/old_dat/.config/ > /dev/null || echo"Directory does not exist"
|
||||
rsync -ah --progress ~/.config/gtk-3.0 ~/old_dat/.config/ > /dev/null || echo"Directory does not exist"
|
||||
rsync -ah --progress ~/.config/i3 ~/old_dat/.config/ > /dev/null || echo"Directory does not exist"
|
||||
rsync -ah --progress ~/.config/neofetch ~/old_dat/.config/ > /dev/null || echo"Directory does not exist"
|
||||
rsync -ah --progress ~/.config/openbox ~/old_dat/.config/ > /dev/null || echo"Directory does not exist"
|
||||
rsync -ah --progress ~/.config/polybar ~/old_dat/.config/ > /dev/null || echo"Directory does not exist"
|
||||
rsync -ah --progress ~/.config/termite ~/old_dat/.config/ > /dev/null || echo"Directory does not exist"
|
||||
rsync -ah --progress ~/.config/variety ~/old_dat/.config/ > /dev/null || echo"Directory does not exist"
|
||||
|
||||
#other directories
|
||||
rsync -ah --progress ~/scripts ~/old_dat/ > /dev/null
|
||||
rsync -ah --progress ~/.mozilla ~/old_dat/ > /dev/null
|
||||
rsync -ah --progress ~/.easystroke ~/old_dat/ > /dev/null
|
||||
#rsync -ah --progress ~/.emacs.d ~/old_dat/ > /dev/null
|
||||
rsync -ah --progress ~/.doom.d ~/old_dat/ > /dev/null
|
||||
rsync -ah --progress ~/scripts ~/old_dat/ > /dev/null || echo"Directory does not exist"
|
||||
rsync -ah --progress ~/.mozilla ~/old_dat/ > /dev/null || echo"Directory does not exist"
|
||||
rsync -ah --progress ~/.easystroke ~/old_dat/ > /dev/null || echo"Directory does not exist"
|
||||
#rsync -ah --progress ~/.emacs.d ~/old_dat/ > /dev/null || echo"Directory does not exist"
|
||||
rsync -ah --progress ~/.doom.d ~/old_dat/ > /dev/null || echo"Directory does not exist"
|
||||
echo Made backups
|
||||
|
||||
#copy folders
|
||||
|
Loading…
Reference in New Issue
Block a user