Update rsync command
This commit is contained in:
parent
2abe028e46
commit
e015bd5cac
|
@ -4,7 +4,7 @@
|
||||||
if [ ! -z $1 ] ;then
|
if [ ! -z $1 ] ;then
|
||||||
if [ -d ~/dotfiles-versions/"$1" ] ;then
|
if [ -d ~/dotfiles-versions/"$1" ] ;then
|
||||||
echo "Folder exists. Start rsync now ..."
|
echo "Folder exists. Start rsync now ..."
|
||||||
rsync -avzh -I --exclude-from=excludes.txt ~/dotfiles-versions/$1/ ~/dotfiles
|
rsync -avhp -I --exclude-from=excludes.txt ~/dotfiles-versions/$1/ ~/dotfiles
|
||||||
else
|
else
|
||||||
echo "Folder ~/dotfiles-versions/$1 not found."
|
echo "Folder ~/dotfiles-versions/$1 not found."
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -53,7 +53,7 @@ if gum confirm "Do you want to install the prepared dotfiles now?" ;then
|
||||||
mkdir ~/dotfiles
|
mkdir ~/dotfiles
|
||||||
echo "~/dotfiles folder created."
|
echo "~/dotfiles folder created."
|
||||||
fi
|
fi
|
||||||
rsync -a -I ~/dotfiles-versions/$version/ ~/dotfiles/
|
rsync -avhp -I ~/dotfiles-versions/$version/ ~/dotfiles/
|
||||||
if [[ $(_isFolderEmpty ~/dotfiles/) == 0 ]] ;then
|
if [[ $(_isFolderEmpty ~/dotfiles/) == 0 ]] ;then
|
||||||
echo "AN ERROR HAS OCCURED. Copy prepared dofiles from ~/dotfiles-versions/$version/ to ~/dotfiles/ failed"
|
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."
|
echo "Please check that rsync is installad on your system."
|
||||||
|
|
|
@ -32,6 +32,9 @@
|
||||||
// Modules Left
|
// Modules Left
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
"custom/appmenu",
|
"custom/appmenu",
|
||||||
|
"custom/settings",
|
||||||
|
"custom/waybarthemes",
|
||||||
|
"custom/wallpaper",
|
||||||
"wlr/taskbar",
|
"wlr/taskbar",
|
||||||
"group/quicklinks",
|
"group/quicklinks",
|
||||||
"hyprland/window"
|
"hyprland/window"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user