Skip to content

[AA] osxphotos query --field ... to get Original File Name with extension #1828

Open
@Als-Home

Description

@Als-Home

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions