f-spot and sqlite

I recently tried using Linux f-spot, with the intent to make it easier to browse, manipulate, manage and publish my photos. I wanted f-spot to manage my photo screen saver as well. f-spot seems to be good at importing photos, but getting photos removed is a bit more difficult.

I organize my photos by date an a directory structure such as “2010/2010.01.01 New Years Day”. The “2010″ directory contains several sub directories. Each sub directory consists of a date and a description. If, for some reason, I import photos into f-spot that I don’t want in its database, I know what directory the photos pertain to. Unfortunately, F-spot doesn’t allow me to remove photos from its catalog by filename or file path. That’s okay though, because it stores its database using sqlite.

I figured this out by running lsof -p pid-of-f-spot, and noticed a file descriptor opened to “/home/jared/.config/f-spot/photos.db”. Then I ran file ~/.config/f-spot/photos.db and it helpfully told me that it is a “SQLite 3.x database”.

After a bit of google research, I figured out I could install a SQLite manager on my Fedora system: yum install -y sqliteman, followed by running sqliteman ~/.config/f-spot/photos.db. I was expecting to see a command-line client, but to my surprise, I found a pleasant graphical interface. It was simple to browse the table schema and to run queries to update and morph the f-spot photo database. Note: I’d recommend making a backup copy of the database before altering it.

F-spot may not be everything I want it to be, but I managed to work past its limitations due to the fact that it used a well known, open data storage format.

2 Responses to “f-spot and sqlite”

  1. PHILLIP says:

    Pillspot.org. Canadian Health&Care.Special Internet Prices.No prescription online pharmacy.PillSpot.org. Vitamins@buy.online” rel=”nofollow”>.…

    Categories: Pain Relief.Antibiotics.Stop SmokingAnxiety/Sleep Aid.Womens Health.Eye Care.Antidiabetic.Mens Health.Skin Care.Blood Pressure/Heart.Stomach.Antidepressants.Anti-allergic/Asthma.Weight Loss.Mental HealthAntiviral.Vitamins/Herbal Supple…

  2. VICTOR says:


    PillSpot.org. Canadian Health&Care.Special Internet Prices.Best quality drugs.No prescription online pharmacy. No prescription pills. Buy pills online

    Buy:Prevacid.100% Pure Okinawan Coral Calcium.Zovirax.Mega Hoodia.Lumigan.Human Growth Hormone.Arimidex.Nexium.Prednisolone.Synthroid.Actos.Valtrex.Petcam (Metacam) Oral Suspension.Retin-A.Zyban.Accutane….