RXEGM3KSTD5LOZKF3TDE46ACD6UDV5QRJYICGLIPQOEXO2VWYNGAC
AHADXG373PTQYWSNTLYRURWVS7SLUFLT6PM5MHGZGAURHC25FX7AC
5TZPO2XG4EGASWQOWU6O26A63546YUJRR2MPXP5QCSRIJYZ3AYTAC
6KFVCGKKXDPZMNUP6ZN6M7MJQ25PDER42VV5FAY45OHJZWO4VEMQC
G475G2KUDACOYKXN4FSMA7LQBMVIV6QEPYYAGBXQGWLYX3YJDZTAC
TOLGMXUXRC74FQHKSAFLRNEG44GPLBMORKRDPU35EB2F424AN5QAC
A4YDN3ZM5CNM43BMK4BAEB6I2GVQQZUKBCZYMYCRVZSS6EXRY3VAC
QX7XVNQYOTBDULUCLFRGSATHL7KWBSEV6QWNFY353S7ZIR6UGJWQC
MOBNZ54BFOL54ETIXQM6NXVFEAXCRMPLPHNHBTNKRRKLSYMUTMBAC
6Q2LBYYTS5Z67TKMOMJRBRST5UIOW3CGRSDGCDQBO3F3DNNPVGIQC
TYCBCSGHUAHVPEH5E3LW7KURDC5W4CZ73WSBVRTOWTBSKUNPATUQC
HOTFGCPMWQATBEXUZXAAW7TILKKQJGJMLAF72URDK4H632C3JXEQC
L3PX32UXE2SC4JK3VXLL654DHBZGVXSBLZRQIGUIB4RIXEVHU5IQC
RICRV7DJAG46H3D5ZWYZO5QTIMWOFX3PBDNOGDL2SGYCHAE4XHBQC
R4THF7FOB3LE7JE7DMA5UL6PJIYZMNUWH6TLUKDHNB2X47V4MAEQC
6WPF42RDWKN2YKPNQNRFMKIO4TJBQCUKRPLVY4V6ULN6KXPBQOUQC
```nodejs
If both "**copyMetaFiles**" and "**writeMetaData**" are set, then it is first checked whether metadaten.json exists in the album.
If this is the case, then this is copied - otherwise, the metadata will be read from the photo and saved as metdata.json in the defined destination folder.
```json
```node
## install tools
> brew install exiftool
> brew install graphicsmagick
> brew install ffmpeg
> brew install gifsicle
> brew install dcraw
```bash
## install tools
> brew install exiftool
> brew install graphicsmagick
> brew install ffmpeg
> brew install gifsicle
> brew install dcraw
```
## Optional modify the Thumbsup metadata.js ##
```js
...
class Metadata {
constructor(exiftool, picasa, opts) {
// standardise metadata
this.date = getDate(exiftool)
this.caption = caption(exiftool)
this.keywords = keywords(exiftool, picasa)
this.video = video(exiftool)
this.animated = animated(exiftool)
this.rating = rating(exiftool)
this.favourite = favourite(picasa)
const size = dimensions(exiftool)
this.width = size.width
this.height = size.height
this.exif = opts ? (opts.embedExif ? exiftool.EXIF : undefined) : undefined
this.all = exiftool // <--- Add this to get all metadata
// metadata could also include fields like
// - lat = 51.5
// - long = 0.12
// - country = "England"
// - city = "London"
// - aperture = 1.8
}
...
}
```