Remove files not in database



I've just had an accident with f-spot ( https://bugzilla.gnome.org/show_bug.cgi?id=629963 ) and got round it by removing about 1000 images from the catalogue. I suspect that I now have a lot of images on disk that don't exist in the catalogue. The details are unimportant suffice to say I'd be very interested in tidying up my /jpegs tree and removing any files that are not known to f-spot.

Some time ago (Oct 2009) there was discussion of orphaned files and a script uploaded (http://paste.ubuntu.com/292946/) that looks promising. I've been reviewing the thread and I'm not certain whether it works with 0.8.0 and whether it has a -dry-run type option (aha - I see 'demomode'). I'm a bit scared to run it even though everything's backed up. Am I right in thinking that it will physically remove files from the disk that are not known in f-spot's catalog?

Thanks,

Dougie



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]