Update rsync command

This commit is contained in:
Stephan Raabe committed 2023-12-20 17:06:18 +01:00
1 parent 2abe028e46
commit e015bd5cac
3 files changed
+5 -2

No files matched your search

+1 -1
View File
@@ -53,7 +53,7 @@ if gum confirm "Do you want to install the prepared dotfiles now?" ;then
mkdir ~/dotfiles
echo "~/dotfiles folder created."
fi
rsync -a -I ~/dotfiles-versions/$version/ ~/dotfiles/
rsync -avhp -I ~/dotfiles-versions/$version/ ~/dotfiles/
if [[ $(_isFolderEmpty ~/dotfiles/) == 0 ]] ;then
echo "AN ERROR HAS OCCURED. Copy prepared dofiles from ~/dotfiles-versions/$version/ to ~/dotfiles/ failed"
echo "Please check that rsync is installad on your system."