Add creation of directory
This commit is contained in:
parent
7b5376a249
commit
0e25a8bfa6
@ -19,9 +19,12 @@ rm -rf ~/old_dat
|
|||||||
#make new directory
|
#make new directory
|
||||||
mkdir ~/old_dat
|
mkdir ~/old_dat
|
||||||
|
|
||||||
|
# make subdirectories
|
||||||
|
mkdir ~/old_dat/.local/share || echo Directory already exists
|
||||||
|
|
||||||
#back stuff up
|
#back stuff up
|
||||||
#config folders
|
#config folders
|
||||||
rsync -ah ~/.config/MangoHud ~/old_dat/.config/ || echo Directory does not exist > /dev/null
|
rsync -ah ~/.config/MangoHud ~/old_dat/.config/ || echo Directory does not exist
|
||||||
rsync -ah ~/.config/autostart ~/old_dat/.config/ || echo Directory does not exist > /dev/null
|
rsync -ah ~/.config/autostart ~/old_dat/.config/ || echo Directory does not exist > /dev/null
|
||||||
rsync -ah ~/.config/fish ~/old_dat/.config/ || echo Directory does not exist > /dev/null
|
rsync -ah ~/.config/fish ~/old_dat/.config/ || echo Directory does not exist > /dev/null
|
||||||
rsync -ah ~/.config/gtk-3.0 ~/old_dat/.config/ || echo Directory does not exist > /dev/null
|
rsync -ah ~/.config/gtk-3.0 ~/old_dat/.config/ || echo Directory does not exist > /dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user