Run Exiftool using multiple cores

Started by RossTP, October 17, 2016, 02:01:14 AM

Previous topic - Next topic

chuck lee

Quote from: chuck lee on July 12, 2023, 05:18:20 AMDear all,

I am sorry the code will cause problem scanning directory
.
.
.

[[ "$recursive" == "r" ]] && img=(**) || img=(*)
.
.
.
should be

[[ "$recursive" == "r" ]] && img=($(find . -type f -iregex '.*\.\(jpg\|heic\)$' )) || img=($(find . -maxdepth 1 -type f -iregex '.*\.\(jpg\|heic\)$'))



and Phil,

Thanks for your suggestion and I will look into it. 

regards,

Chuck Lee