https://github.com/dominicmaas/luminar-catalog-transfer
Transfer edits from one luminar catalog to another
https://github.com/dominicmaas/luminar-catalog-transfer
luminar
Last synced: 8 months ago
JSON representation
Transfer edits from one luminar catalog to another
- Host: GitHub
- URL: https://github.com/dominicmaas/luminar-catalog-transfer
- Owner: DominicMaas
- Created: 2020-12-18T06:55:35.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-19T08:52:59.000Z (almost 5 years ago)
- Last Synced: 2025-01-06T05:24:53.802Z (10 months ago)
- Topics: luminar
- Language: C#
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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)