diff options
Diffstat (limited to 'threadcat-del.sh')
-rwxr-xr-x | threadcat-del.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/threadcat-del.sh b/threadcat-del.sh new file mode 100755 index 0000000..cd71da6 --- /dev/null +++ b/threadcat-del.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +THREAD_NAME=$1 + +if [ ! -z "${THREAD_NAME}" ]; then + ssh $THREADCAT_USER "rm /opt/threadcat/$THREAD_NAME" +else + echo You did not provide a thread name. + echo USAGE: "threadcat del THREAD_NAME" +fi + |