I have been abroad for a while and recently returned. Switched back on my NAS and copied all new pictures to it (±200gb). Took several hours and now I am wondering if there is any way to copy/structure my original local files so that I do not need to spend several more hours to let darktable make a local copy of what is already there.
I was thinking that I might be able to write a small script to copy and rename the pictures so that darktable would consider them local copies. From the docs I understand where the copies are made and it mentions that is uses a md5 hash of the path. But if i do an “echo ‘path/to/file.cr2’ | md5sum” (with or without -n flag for echo) I get a different hash than the one in the file darktable created. Possibly something to do with the fact that the NAS is mounted over NFS?
Has anyone played around with something similar or happens to know how darktable calculates the hash?