Updates
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
#!/bin/sh
|
||||
rsync -av --exclude-from=excludes.txt ../ ~/dotfiles/
|
||||
+1
-1
@@ -11,4 +11,4 @@ keyboard.conf
|
||||
keyboard.py
|
||||
animation.conf
|
||||
decoration.conf
|
||||
window.conf
|
||||
window.conf
|
||||
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
# Execute the script with ./sync version e.g., ./sync 2.5.2
|
||||
|
||||
if [ ! -z $1 ] ;then
|
||||
if [ -d ~/dotfiles-versions/"$1" ] ;then
|
||||
echo "Folder exists. Start rsync now ..."
|
||||
rsync -avzh --exclude-from=excludes.txt ~/dotfiles-versions/$1/ ~/dotfiles
|
||||
else
|
||||
echo "Folder ~/dotfiles-versions/$1 not found."
|
||||
fi
|
||||
else
|
||||
echo "No folder specified. Please use ./sync folder"
|
||||
fi
|
||||
Reference in New Issue
Block a user