I have more than 100 CDI files. And, I have too many images and videos there.
So, it would be great to be able to:
- Group media by something like folders.
- Have some “marks” indicating a) whether an image/video was shot by me or my friends (“home” videos and photos) and b) who is on this image/video.
In such cases tags would help. Thus, they would allow:
- Tag a CDI database, in this way making it associated with one or more virtual “folders”.
- Tag image and video files, in this way a) also making them associated with a virtual “folder” and/or b) making them be associated with just a word.
CDI database and entry tags should be treated differently, of course. Also, when tags are added,
cdfind should be modified to allow searching them.
The tags database can have the extension
CDT. Probably, tags should be defined globally (no free-form tags should be allowed) - in this case the registry of tags (a database too) can have the name
tags.cdr (“r” for “registry”).
Special tools can be used for managing tags, e.g.:
cdtags add "TAG NAME"- to register a new global tag
cdmodify "Test media" "path/to/file.ext" addtag "TAG NAME"- to associate a file with the tag
cdmodify "Test media" "path/to/dir/*.jpg" addtag "TAG NAME"- to associate multiple files with the tag