On Sat, Jan 5, 2013 at 6:11 PM, Pascal de Bruijn <[email protected]> wrote:
> On Sat, Jan 5, 2013 at 5:53 PM, Lars Wirzenius <[email protected]> wrote:
>> On Sat, Jan 05, 2013 at 11:14:00AM +0100, Federico Bruni wrote:
>>> Well, yes, mostly because it's not up to date.
>>> But I agree - since it's a common problem for new users - that a warning
>>> saying that moving/renaming files outside of darktable will break the
>>> database could be useful.
>>
>> Does Darktable have a way to find ("reconnect") photos on new locations
>> of disks, based on checksum and/or metadata? For example, suppose I have
>> all my photos in $HOME/Foton, and they're all indexed by Darktable, and
>> everything is fine, until I replace my computer, and my username on the
>> other computer is different. Or I have my photos on a USB drive, and
>> move them to a new, bigger drive, with a different name, and therefore
>> a different mount point.
>
> Currently no. So just making sure the path's don't change is the best 
> approach.
>
>> So a feature like "go look for all missing photographs on the disk,
>> starting at location FOO", which would recognize a moved and/or renamed
>> photograph based on the RAW file's SHA-1 (or SHA-3) checksum. Does that
>> exist?
>
> Currently no.
>
>> (Sorry if this is a naive question. I'm still bending my head around
>> Darktable, and haven't started using it for real yet.)
>
> If you must fix this, the only option now is to manually fix the paths
> using the sqlite cli.

Actually there's rather important detail I forgot to mention.

When you change things for an imported image (IMG_1234.RAW), Darktable
saves your changes into it's sqlite database, but it also writes an
XMP sidecar next to the original (wherever that is), for example
(IMG_1234.RAW.xmp).

So if either the database corrupts, or all paths get changed,
typically you can just start with a blank database, and re-import all
the folders again (darktable should pick up on the xmp sidecarts
already present).

The database however also contains stuff like saved presets and
styles. Recent versions of Darktable do save styles as well in:
~/.config/darktable/styles/*.dtstyle, I'm not sure if something
similar is done for saved presets though.

Regards,
Pascal de Bruijn

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
Darktable-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-users

Reply via email to