From e8ec713333a5c3eaa9ceb9d9d57d4e0a1dff5431 Mon Sep 17 00:00:00 2001 From: michael Date: Mon, 4 Sep 2023 15:55:16 -0400 Subject: [PATCH] It's the little things... --- bash/jpg | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bash/jpg b/bash/jpg index ba9d088..854ccea 100755 --- a/bash/jpg +++ b/bash/jpg @@ -83,7 +83,10 @@ for heic in *.heic; do done if [ $filecount -gt 0 ]; then - printf "\n%s\n\n" "Script complete. Converted $filecount heic files to $destformat" + if [ $filecount -eq 1 ]; then + printf "\n%s\n\n" "Script complete. Converted $filecount heic file to $destformat" + else + printf "\n%s\n\n" "Script complete. Converted $filecount heic files to $destformat" else if [ $customdir -eq 2 ]; then printf "\n%s\n\n" "Found 0 heic files to convert. Are you sure you specified the right directory?"