Trying this method

This commit is contained in:
RealStickman 2020-11-04 22:20:17 +01:00
parent 8dee5c3c42
commit 2f3d1700c9

View File

@ -21,23 +21,23 @@ mkdir ~/old_dat
#back stuff up
#config folders
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"
rsync -ah --progress ~/.config/MangoHud ~/old_dat/.config/ || echo"Directory does not exist" > /dev/null
rsync -ah --progress ~/.config/autostart ~/old_dat/.config/ || echo"Directory does not exist" > /dev/null
rsync -ah --progress ~/.config/fish ~/old_dat/.config/ || echo"Directory does not exist" > /dev/null
rsync -ah --progress ~/.config/gtk-3.0 ~/old_dat/.config/ || echo"Directory does not exist" > /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
#other directories
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"
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
echo Made backups
#copy folders