DominicMaas / luminar-catalog-transfer

Transfer edits from one luminar catalog to another

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Luminar Catalog Transfer

Transfer edits from one luminar catalog to another

Notes:

  • This transfer matches based on the stored filename within the luminar catalog. Ensure your filenames match correctly)
  • !!! Please backup your .luminar file before running this script !!!

Usage

todo, but something like name {path/to/source/catalog} {path/to/destionation/catalog}

Read Steps

  1. Read source catalog
  2. Select * on source.img_history_states
  3. group on source.image_history_state_proxy (image_history_state_proxy._state_id_int_64 <--> img_history_states._id_int_64
  4. Match on images._id_int_64 (images. <--> image_history_state_proxy._image_id_int_64)

Import Steps

  1. Read destination catalog
  2. Find matching source catalog images with destionation images (using images.path_wide_ch)
  3. Insert img_history_states (keeping track of new inserted ids)
  4. Write proxy matchup within image_history_state_proxy between new image id and new history state id

Unknowns

There is a resources match (img_history_state_resources and resources), unsure if this is important. there are hardcoded links to the cache folder that I cannot use anyway (Win10 --> macOS).

Turns out resources are in fact needed (file system and DB), need to move the file system across (relaitive to catalog), and then update resources in the DB)

About

Transfer edits from one luminar catalog to another


Languages

Language:C# 100.0%