From cfa6e98a33e89291b19376e9e1ab25510afdfb7d Mon Sep 17 00:00:00 2001 From: jwansek Date: Mon, 19 Sep 2022 17:19:13 +0100 Subject: Added metadata file --- del_repo | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'del_repo') diff --git a/del_repo b/del_repo index 4bf9cca..9fb038f 100755 --- a/del_repo +++ b/del_repo @@ -1,9 +1,8 @@ #!/bin/bash -echo -n "Input repo name to delete: " +echo -n "Input repo name to delete (excluding the .git suffix): " read repo -rm -fvr /srv/git/$repo -rm -fvr ~/$repo -rm -fvr ~/$repo.git - +rm -fvr /srv/git/$repo.git +rm -fvr ~/$repo* +rm -fv /srv/www/repositories/$repo* -- cgit v1.2.3