Because of moving or renaming directories the paths to my photos changed. How can I automatically remove all dead links so that the missing photos aren't displayed (marked with a skull) anymore?
The darktable project includes a shell script called
purge_non_existing_images.sh which will remove any entry pointing to a file which doesn't exist.
It requires an environment that will run a POSIX-compatible "
sh" script; on Windows, this may require the installation of such a shell... on Linux, the script itself may or may not be installed along with darktable depending on how it was packaged. Some distributions may provide a "darktable-tools" or similar package for this purpose (there are several other interesting things in the "tools" directory).