updated tool to purge non-existing files from the DB



Hi,

at http://www.svenutcke.de/sw/f-spot/cleanup/ you can find a
pre-release of f_spot_cleanup (formerly f-spot-cleanup), a Python tool
to remove entries pointing to non-existing files from the DB.
Changes:

    * Now also handles files with more than one version.
    * (probably) supports all database versions between 7 (14, the
      earliest version I know, was used in 0.4.3) and 18 (used in
      0.8.2).  Tested were 14, 17.1 and 18, the current version.
    * Support for (partly URL-encoded) filenames containing (at least)
      UTF-8 characters. Whether other character sets would work is
      untested. 
    * Complete rewrite of the DB-access.
    * The name was changed (underscores instead of hyphens) to allow
      the use of squeeze. 

Give it a try, but make sure you run with -n (--dry-run) or -i
(--interactive) first, or, at the very least, do check the output of
-v (--verbose) quite thoroughly (there's always a backup of your db
around).

Hope this helps

Sven
-- 
  .xxxx.       FACE-Tools                                      |||||
 |(o)(o)|      http://www.svenutcke.de/sw/Face/              {. @ @ .}
(  (__)  )                                                    |  o  |
  | __ |       Face detection and recognition                  \_U_/
   \__/        for photo-managers like F-Spot


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