Added files and Installer

This commit is contained in:
2021-01-17 17:45:32 +00:00
parent bbc13f56bc
commit 3763304a1a
7 changed files with 352 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
## DOWNLOADED FROM GITHUB ##
# Find all dot files then if the original file exists, create a backup
# Once backed up to {file}.dtbak symlink the new dotfile in place
for file in $(find . -maxdepth 1 -name ".*" -type f -printf "%f\n" ); do
if [ -e ~/$file ]; then
mv -f ~/$file{,.dtbak}
fi
ln -s $PWD/$file ~/$file
done