From eb6337c752388a519cd7d41de17b1a7ae95cf2d0 Mon Sep 17 00:00:00 2001 From: hariteja-jajula <112431697+hariteja-jajula@users.noreply.github.com> Date: Fri, 17 May 2024 11:32:35 -0500 Subject: [PATCH] fixed final output count (#168) --- guide.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide.sh b/guide.sh index 009efe3..9bc6bfd 100755 --- a/guide.sh +++ b/guide.sh @@ -194,7 +194,7 @@ echo -e "Mounting local host directory $HOST_DATA_PATH to /ngen/ngen/data within docker run --rm -it -v "$HOST_DATA_PATH:/ngen/ngen/data" "$IMAGE_NAME" /ngen/ngen/data/ # Final output count -Final_Outputs_Count=$(ls "$HOST_DATA_PATH/outputs/*/*" | wc -l) +Final_Outputs_Count=$(find "$HOST_DATA_PATH/outputs/" -type f | wc -l) echo -e "$Final_Outputs_Count new outputs created." echo -e "Any copied files can be found here: $HOST_DATA_PATH/outputs"