Update rsync command

This commit is contained in:
Stephan Raabe
2023-12-20 17:06:18 +01:00
parent 2abe028e46
commit e015bd5cac
3 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
if [ ! -z $1 ] ;then
if [ -d ~/dotfiles-versions/"$1" ] ;then
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
echo "Folder ~/dotfiles-versions/$1 not found."
fi