Thanks Jean. I updated that so it actually uses a variable for the dbpath, and cleaned up a couple other things as well.
The latest version is here: http://michaeljaylissner.com/blog/script-to-cleanup-fspot-database Michael Lissner [email protected] 909-576-4123 Jean Levasseur wrote on 10/17/2009 10:12 AM: > From first (and quick!) view, it looks good, but since the database has > moved from ~/.gnome2/f-spot to $XDG_CONFIG_DIR/f-spot/ (which is in 99% > of cases ~/.config/f-spot), I would test the presence of that path too. > > - Foxmike. > > Le mercredi 14 octobre 2009 à 00:27 -0700, Michael Lissner a écrit : > >> Hi, I just wrote a script to clean up orphan entries in the f-spot >> database, and I wanted to see if I could get any feedback on it. >> >> This was inspired by my use of f-spot yesterday, when browsing my photos >> within f-spot. At one point, it crashed because one of the files it was >> looking for had been (re)moved manually outside of f-spot. It surprised >> me that an orphan database entry would cause f-spot to crash, but I >> noticed that I had a lot of these photos and no easy way to fix the >> problem (and that f-spot was crashing a lot as a result). >> >> So, I wrote the script that is attached, and also posted here: >> http://paste.ubuntu.com/292946/ >> >> Any feedback would be more than welcome. I tested it moments ago on my >> database, and it seems to have done the trick quite well. >> >> Thanks, >> >> _______________________________________________ >> F-spot-list mailing list >> [email protected] >> http://mail.gnome.org/mailman/listinfo/f-spot-list >> > >
<<attachment: mlissner.vcf>>
_______________________________________________ F-spot-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/f-spot-list
