Found out we have a Lib file "heif-convert" in pclinuxos
So I wondered if I change the script above.
#!/bin/bash
for f in *.heic; do heif-convert "$f" "${f%.heic}.jpg"; done
I then opened 'konsole' in my test directory and run the script.
Much to my surprise it converted each of the photo's
Can any of the 'Script' experts have a look at what I have done above please and let me know if it needs to be adjusted at all before I send it to my daughter who has hundreds of these 'heic' photo files.
Thanks to all who have helped.