Photos: Export all images without downloading them?
You can do this in a web browser by logging in to iCloud.com and accessing your photos there. Photos get downloaded to your default download location (which usually is ~/Downloads), so change this in Safari Settings first to point to the NAS.