aboutsummaryrefslogtreecommitdiffstats
path: root/del_repo
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2022-09-19 17:19:13 +0100
committerjwansek <eddie.atten.ea29@gmail.com>2022-09-19 17:19:13 +0100
commitcfa6e98a33e89291b19376e9e1ab25510afdfb7d (patch)
tree90e689d01687dd4e4a8d2d666279b566818d2a0f /del_repo
parent080dca2a578f5c00d5b91e65c43a29cb0f6232e8 (diff)
downloadgit-scripts-cfa6e98a33e89291b19376e9e1ab25510afdfb7d.tar.gz
git-scripts-cfa6e98a33e89291b19376e9e1ab25510afdfb7d.zip
Added metadata file
Diffstat (limited to 'del_repo')
-rwxr-xr-xdel_repo9
1 files changed, 4 insertions, 5 deletions
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*