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
- Read source catalog
- Select * on
source.img_history_states
- group on
source.image_history_state_proxy
(image_history_state_proxy._state_id_int_64
<-->img_history_states._id_int_64
- Match on
images._id_int_64
(images.
<-->image_history_state_proxy._image_id_int_64
)
Import Steps
- Read destination catalog
- Find matching source catalog images with destionation images (using
images.path_wide_ch
) - Insert
img_history_states
(keeping track of new inserted ids) - 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)