logologo
HomeGallery
  • Why?
  • Docs
  • Demo
  • Download
    Start
    Install
    General
    docker-compose
    docker
    Binary
    App Bundle
    Generic Bundle
    Source
    Azure
    Configuration
    CLI
    help
    run
    export meta
    export static
    fetch
    database
    storage
    plugin
    cast
    Webapp
    Search
    FAQ
    API server
    Recipes
    Use Nginx proxy with subpath
    Use Traefik proxy with subpath
    Use IIS Proxy With a Sub-Path
    Internals
    Workflow
    Building Blocks
    Data Structures
    Design Decisions
    Development
    Plugin
    Extractor Plugin
    Database Mapper Plugin
    Query Plugin
    Previous pagerunNext pageexport static

    #export meta command

    The export meta command

    • Exports meta data to XMP sidecar files

    All media with manual tags from HomeGallery are written to XMP sidecar files. By default it will create <name>.<ext>.xmp file. E.g. for the image IMG_1234.JPG the sidecar IMG_1234.JPG.xmp is created. If IMG_1234.xmp exists it will use this file.

    The tags are written through Exiftool to following namespaces:

    • Dublin Core (see Exiftool dc Tags)
    • Digikam (see Exiftool digiKam Tags)
    • Lightroom (see Exiftool lr Tags)
    gallery.js export meta
    
    Export meta data to xmp sidecar files
    
    Options:
          --version          Show version number                           [boolean]
          --full-version     Show full build version                       [boolean]
      -l, --log-level        Console log level
             [string] [choices: "trace", "debug", "info", "warn", "error", "silent"]
      -J, --log-json-format  Log output format in json                     [boolean]
      -L, --log-file         Log file
          --log-file-level   Log file level
      [string] [choices: "trace", "debug", "info", "warn", "error"] [default: "debug
                                                                                  "]
      -c, --config           Configuration file
          --auto-config      Search for configuration on common configuration direct
                             ories                         [boolean] [default: true]
      -d, --database         Database filename                            [required]
      -e, --events           Events filename
      -i, --index            Index file                           [array] [required]
      -A, --changes-after    Only write meta data changes after given date (in ISO 8
                             601)                                           [string]
      -n, --dry-run          Do not perform any writes    [boolean] [default: false]
      -h, --help             Show help                                     [boolean]
          --level                                                   [default: debug]