mirror of
https://github.com/lawrencesystems/dotfiles.git
synced 2024-11-09 23:24:11 -08:00
11 lines
241 B
Bash
11 lines
241 B
Bash
#!/bin/bash
|
|
for file in $(find . -maxdepth 1 -name ".*" -type f -printf "%f\n" ); do
|
|
if [ -h ~/$file ]; then
|
|
rm -f ~/$file
|
|
fi
|
|
if [ -e ~/${file}.dtbak ]; then
|
|
mv -f ~/$file{.dtbak,}
|
|
fi
|
|
done
|
|
echo "Uninstalled"
|