From 013b554f49618b62321a86fc764891e0f1555e0d Mon Sep 17 00:00:00 2001 From: oreodave Date: Wed, 24 Jul 2019 00:06:43 +0100 Subject: +Implemented script to remove all files --- delete.sh | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- cgit v1.2.3-13-gbd6f