I have discovered
mdls as a way of extracting information from a (photo) file. However, I have found that it doesn’t seem to work properly if I am accessing the file over the network. Some of the meta data is missing, most notably the GPS data which is what I wanted most.
However, if I copy the file to a local drive, then the metadata is all there, and everything is fine again. This suggests that
mdls is looking in the wrong place for some data … ?
It gets weirder depending on the network:
- If I connect using SMB I get a limited selection of metadata
- If I connect using NFS I get the message that it could not find the file at all.
How can I use successfully
mdls on networked files?