Script for purging orphaned thumbnails - using in Windows?


#1

Hello,

I found the bash script for purging orphaned thumbnails. Could someone explain me how to use it with Windows, e.g. with msys? Or is there any other possibility for the Windows version to clean up the darktable database from orphaned thumbnails?

Thank you,
Lümmel


#2

Could you please show us or link to this script?


(darix) #3

often installed to /usr/share/darktable/ in packages.


#4

Yes, that is the mentioned script. Unfortunately it is a bash script and I have no idea how to use it with Windows. Any hints?


(Mica) #5

If you edit the library path, cygwin or WSL can probably run it.


#7

OK, I used MSyS and changed the path to DBFILE="/c/Users/[USERNAME]/AppData/Local/darktable/library.db". After installing SQLite via “pacman -S sqlite3” the script ran and finished after app. 30min. Didn’t use the WSL because I don’t want to install a complete Linux just for some scripts and I already had the MSyS for compiling Darktable in WIndows. Thank you all for the tips.