How do I consolidate 23,000 referenced photos on iMac with missing files?
I have a very large number of Photos on my iMac which are not uploading to iCloud Photos, which appears to be all to do with referenced files. I have created a Smart album in Photos using the 'Referenced' Option which has resulted in more than 23,000 photos being identified - so far so good! But when I select Consolidate, then Copy I get an 'error, saying Missing file' as below
However, when I select Apply to All, then click on Find Original, and select the folder (Photos on iCloud) which contains ALL my original photos - it simply comes back with the same error (as above) but with the next file listed? Given the very large number of photos, I cannot sit in front of my computer and click Find Original 23,000 times! I had assumed by selecting the Apply to All box the system would go away and find each of the 'Missing Files', however, that clearly is not happening.
Am I doing something fundamentally wrong (or stupid) here, or am I missing something?
But, if I do have to click Find Original and then select the folder for every photo is ether some simple way of automating this? I have had a brief look at Automator, in the hope that I could simply set up some keystrokes, and a loop to repeat the required key strokes automatically until it has been through all the files; but can not work out how to do that (so if that is the answer is anyone able to explain how that would work - if in fact it would)
Thanks in anticipation
Neil.
[Re-Titled by Moderator]
iMac 21.5″ 4K, macOS 13.7