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:

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]