[Digikam-devel] [Bug 124143] New: Generate keywords from filename
Gerhard Kulzer
gerhard at kulzer.net
Fri Mar 24 08:41:13 GMT 2006
On Thursday 23 March 2006 17:03, a.roar at web.de wrote:
> ------- You are receiving this mail because: -------
> You are the assignee for the bug, or are watching the assignee.
>
> http://bugs.kde.org/show_bug.cgi?id=124143
> Summary: Generate keywords from filename
> Product: digikam
> Version: 0.8.1
> Platform: unspecified
> OS/Version: Linux
> Status: UNCONFIRMED
> Severity: wishlist
> Priority: NOR
> Component: general
> AssignedTo: digikam-devel kde org
> ReportedBy: a.roar web de
>
>
> Version: 0.8.1 (using KDE 3.5.1, Gentoo)
> Compiler: gcc version 3.4.5 (Gentoo 3.4.5-r1, ssp-3.4.5-1.0,
> pie-8.7.9) OS: Linux (i686) release 2.6.15-gentoo-r1
>
> I just tried to give keywords to all my pictures. But that would take
> months doing that manually. It would be great to get a feature that would
> "tag" my pictures automatically. I thought of generating the keywords for a
> picture according to the filename of the picture. Example:
> All my pictures have describing filenames like "john and joe laughing.jpg".
> It would be nice to generate two keywords "john" and "joe" for this
> picture. _______________________________________________
Well, this feature can be achieved in two ways:
a) if your file names present a filter criteria as you describe above, then do
a search filter with digiKam and tag all files at once.
b) if you're good with SQL you could do that directly in the database with a
statement similar to this:
sqlite3 digikam3.db 'insert into ImageTags select Images.ID "tagnumber" from
Images where Images.name like "john*";'
Gerhard
More information about the Digikam-devel
mailing list