aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororeodave <aryadevchavali1@gmail.com>2019-07-24 00:06:43 +0100
committeroreodave <aryadevchavali1@gmail.com>2019-07-24 00:06:43 +0100
commit013b554f49618b62321a86fc764891e0f1555e0d (patch)
tree30ca7a09689af5d772ac473c428f47b4f03ed4ae
parent754a830b9c0edc7be95e474a8ca5d2538ee83beb (diff)
downloaddotfiles-013b554f49618b62321a86fc764891e0f1555e0d.tar.gz
dotfiles-013b554f49618b62321a86fc764891e0f1555e0d.tar.bz2
dotfiles-013b554f49618b62321a86fc764891e0f1555e0d.zip
+Implemented script to remove all files
-rw-r--r--delete.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/delete.sh b/delete.sh
index a9bf588..af4c0ed 100644
--- a/delete.sh
+++ b/delete.sh
@@ -1 +1,9 @@
#!/bin/bash
+
+dir=~/Dotfiles;
+files=`cat $dir/files`;
+
+for file in $files; do
+ echo "Removing symlink for ~/." + $file;
+ rm ~/.$file;
+done