From f905a909ec18b71fb4c31fa7313135077875fa0b Mon Sep 17 00:00:00 2001 From: mcgratta Date: Fri, 20 Dec 2024 13:52:27 -0500 Subject: [PATCH] FDS Validation: Remove files from Current_Results --- Validation/Common_Run_All.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Validation/Common_Run_All.sh b/Validation/Common_Run_All.sh index 10641c442ca..5f382884b29 100755 --- a/Validation/Common_Run_All.sh +++ b/Validation/Common_Run_All.sh @@ -176,12 +176,11 @@ if [ ! $STOPFDS ] ; then # Check for files in $INDIR (Current_Results) directory if [[ "$(ls -A $INDIR)" && ! $OVERWRITE ]]; then echo "Directory $INDIR already exists with files." - echo "Use the -y option to overwrite files." + echo "Use the -y option to REMOVE existing files." echo "Exiting." exit elif [[ "$(ls -A $INDIR)" && $OVERWRITE ]]; then - # Continue along - : + rm $INDIR/* fi # Create $INDIR (Current_Results) directory if it doesn't exist else