https://github.com/figadore/darktable-auto-export
Keep exported jpgs in sync with the latest xmp files from darktable
https://github.com/figadore/darktable-auto-export
Last synced: 1 day ago
JSON representation
Keep exported jpgs in sync with the latest xmp files from darktable
- Host: GitHub
- URL: https://github.com/figadore/darktable-auto-export
- Owner: figadore
- License: mit
- Created: 2022-10-19T19:29:51.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-01-01T06:18:34.000Z (over 2 years ago)
- Last Synced: 2026-01-20T15:14:22.698Z (6 months ago)
- Language: Go
- Size: 108 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# darktable-auto-export
Keep exported jpgs in sync with the latest xmp files from darktable
## Usage
```bash
go build -o dae ./ && ./dae -i ~/smb-share/photo/raw -o ~/smb-share/photo/jpg
```
Alpha note: In case of error, the db lock may not be cleaned up. For flatpak, the command is usually something like `./dae unlock ~/.var/app/org.darktable.Darktable/config/darktable/`, or, once the config file is updated with the `lockdir` parameter, simply `./dae unlock`
### Config
Config is handled by [viper](github.com/spf13/viper) and [cobra](github.com/spf13/cobra), meaning you can you command line flags or a config.yaml or config.json file. See subcommands help for more details
Here is an example config.yml showing the defaults
```
# sync subcommand
delete-missing: false
in: "./"
out: "./"
command: "flatpak run --command=darktable-cli org.darktable.Darktable"
extension:
- ".ARW"
new: false
# unlock subcommand
lockdir: ""
```
## Roadmap
See https://github.com/figadore/darktable-auto-export/labels/roadmap