This commit is contained in:
Stephan Raabe
2024-02-17 17:01:13 +01:00
parent 46a5b072e1
commit 846583599f
9 changed files with 22 additions and 279 deletions

View File

@@ -4,7 +4,7 @@
if [ ! -z $1 ] ;then
if [ -d ~/dotfiles-versions/"$1" ] ;then
echo "Folder exists. Start rsync now ..."
rsync -avhp -I --exclude-from=excludes.txt ~/dotfiles-versions/$1/ ~/dotfiles
rsync -avhp -I --exclude-from=$HOME/dotfiles-versions/$1/.dev/excludes.txt ~/dotfiles-versions/$1/ ~/dotfiles
else
echo "Folder ~/dotfiles-versions/$1 not found."
fi