On Thu, Feb 21, 2013 at 12:11 AM, Ivan Tarozzi <itaro...@gmail.com> wrote:
> Hi,
> I'm playing with darktable library.db to find a way to
> transfer/backup/restore some data from db to other.

sqlite3 ~/.config/darktable/library.db
.dump presets

and later in the other db:
.read file-where-you-stored-that

> My goal is to handle, for example, this cases:
> - start from a fresh library.db, but restoring personal styles/presets
> - split large collection to small ones, "sharing" styles/presets; why?
>   - big collection -> workstation and nas at home
>   - small collection -> notebook for mobile sessions
>
> Now, my problem is how to distinguish default presets from user ones.
> I noticed darktable doesn't permits to delete default presets, but I
> don't know how.

just delete them, they will be recreated/overwritten if you keep old ones.

> Is the legacy_presets table the key?

no, forget that one. it's some pre-auto-apply presets thing for old images.

-jo

> The table name is a little ambiguous.
> Last: why use a twin table instead a new column in presets table,
> indicating default yes/no?
>
> Thanks for your support, regards
>
> Ivan
>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> darktable-devel mailing list
> darktable-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/darktable-devel

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to