summaryrefslogtreecommitdiff
path: root/create-temp
diff options
context:
space:
mode:
Diffstat (limited to 'create-temp')
-rwxr-xr-xcreate-temp1
1 files changed, 1 insertions, 0 deletions
diff --git a/create-temp b/create-temp
index 573a89c..a022058 100755
--- a/create-temp
+++ b/create-temp
@@ -28,6 +28,7 @@ BASE="$HOME/.temp"
TARGET="$HOME/tmp"
+rmdir "$BASE/"*"/downloads" 2> /dev/null || true
rmdir "$BASE/"* 2> /dev/null || true
[ -d "$BASE/$TODAY" ] || mkdir "$BASE/$TODAY"