From f67e3bc2e45ed0cd759a2c00cc45fa4c7c0c4b3a Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Mon, 22 Mar 2010 22:45:10 +0000 Subject: also get rid of empty download dirs git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@448 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede --- create-temp | 1 + 1 file changed, 1 insertion(+) (limited to 'create-temp') 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" -- cgit v1.2.3