Description
Using : osxphotos query --field name "{name}" --field original_name "{original_name}"
I was surprise that the "original_name" of the file does not contain the extension when imported into Photo.
I integrated with a database that generate website html pages on search demand. In the original design, it is required to have the extension of the files such as .JPG or .MP4 or .MOV ...
I run the osxphotos query >> photosMetadata.csv
then imported into the database,
then some processes in the db using the metadata including the name of the file.ext
then from PHP using API against the database, generate dynamic html
Did I missed something or misunderstand the osxphotos query --field "options" that does not export the file name with the extension ? Can I achieve this ?
Thanks
AA