mirror of
https://github.com/lawrencesystems/dotfiles.git
synced 2024-11-09 23:24:11 -08:00
9 lines
203 B
Bash
Executable file
9 lines
203 B
Bash
Executable file
#!/bin/bash
|
|
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
|
|
echo "Installed"
|