aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/tempassin9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/tempassin b/bin/tempassin
new file mode 100755
index 0000000..101796e
--- /dev/null
+++ b/bin/tempassin
@@ -0,0 +1,9 @@
+#!/bin/bash
+TEMP="/tmp/aktmp"
+TIMESTAMP="$(date -u +%s)"
+export TEMPASSIN="${TEMP}_${TIMESTAMP}"
+if [ ! -d $TEMPASSIN ]; then
+ mkdir $TEMPASSIN
+fi
+cd $TEMPASSIN
+echo "Created temporariry folder $TEMPASSASIN"