From bc36633bd4aedd52a96f3a793443240add6e982c Mon Sep 17 00:00:00 2001 From: jameswood Date: Sun, 29 Nov 2020 14:43:08 +1100 Subject: [PATCH] remove temp file --- sunflower.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/sunflower.sh b/sunflower.sh index 12d0145..a5847f6 100755 --- a/sunflower.sh +++ b/sunflower.sh @@ -14,3 +14,4 @@ $pythonLocation $downloaderLocation "$tempFile" $quality convert "$tempFile" -resize 480x480 "${tempLocation}latest.jpg" convert "$tempFile" "${outputLocation}latest.jpg" cp "${outputLocation}latest.jpg" "${outputLocation}${captureTime}.jpg" +rm "$tempFile"