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?"