From 8cbff7e239272153d5c79b43c05adb27a23c238d Mon Sep 17 00:00:00 2001 From: rbeck4 Date: Tue, 16 Mar 2021 23:32:45 -0700 Subject: [PATCH] minor update, clean files --- transcode.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/transcode.sh b/transcode.sh index 82d8131..d0b3f3d 100644 --- a/transcode.sh +++ b/transcode.sh @@ -246,6 +246,12 @@ do fi #REMOVE THE TEMP FILE (if necessary) + if ls "$workDIR"/"$fileNAME" + then + rm "$workDIR"/"$fileNAME" + else + echo "Workdir already cleaned" + fi if ls "$tmpDIR"/"$fileNAME" then rm "$tmpDIR"/"$fileNAME"