diff options
author | jwansek <eddie.atten.ea29@gmail.com> | 2022-09-20 23:38:36 +0100 |
---|---|---|
committer | jwansek <eddie.atten.ea29@gmail.com> | 2022-09-20 23:38:36 +0100 |
commit | 0622363f32676c19985396177c93dbc58785925f (patch) | |
tree | 86be4d15d2e8b60325829dfa39f1e840bdc94cfb /del_repo.sh | |
parent | a45c5119711a4140b9710ef96ddf0578d5cf9cd3 (diff) | |
download | git-scripts-0622363f32676c19985396177c93dbc58785925f.tar.gz git-scripts-0622363f32676c19985396177c93dbc58785925f.zip |
Renamed scripts, improved README.md
Diffstat (limited to 'del_repo.sh')
-rwxr-xr-x | del_repo.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/del_repo.sh b/del_repo.sh new file mode 100755 index 0000000..efd3421 --- /dev/null +++ b/del_repo.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +echo -n "Input repo name to delete (excluding the .git suffix): " +read repo + +rm -fvr /srv/git/$repo.git +rm -fvr ~/$repo* +rm -fv /srv/www/repositories/$repo* + +bash /srv/www/git-scripts/restart_ui.sh |