On Fri, Feb 8, 2013 at 10:36 PM, Tony Arnold <[email protected]> wrote: > Johannes, > > On 08/02/13 00:29, johannes hanika wrote: >> On Fri, Feb 8, 2013 at 12:14 PM, Tony Arnold >> <[email protected]> wrote: >>> I have a load of images that are in darktable's database but no longer >>> on my disk. How can I clean up the database to get rid of these entries. >> >> ./tools/purge_non_existing_images.sh >> >> or see here if you're not fortunate enough to install from git: >> >> https://github.com/darktable-org/darktable/blob/master/tools/purge_non_existing_images.sh > > Thanks, but this does not work. It tries to invoke sqlite3 to delete a > record while sqlite3 is already doing a select so I get an erro saying > the database is locked.
you probably had dt running in the background. > Attached is a working version. it's exactly the same but the line that says uncomment me you uncommented? >>> Also is there a way to delete a collection >> >> what's a collection? i'm guessing you want to > > Sorry, I meant film roll rather than collection. > > Regards, > Tony. > -- > Tony Arnold, Tel: +44 (0) 161 275 6093 > Head of IT Security, Fax: +44 (0) 705 344 3082 > University of Manchester, Mob: +44 (0) 773 330 0039 > Manchester M13 9PL. Email: [email protected] ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Darktable-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/darktable-users
