CD-Index is a set of command-line tools allowing to index CD/DVD media and search/browse the resulting database. The main goal was to develop a very simple and robust utility. All CD/DVD cataloging alternatives which existed at the moment of writing CD-Index showed themselves to be too slow when working with large (around 200 disks) CD/DVD collections.
CD-Index stores data in own binary format. The file structure plus some media description is stored in CDI files. Symbolic links (pathes to real files) are stored in CDL files. All plugins which need to store some data should store such data in separate binary files. For example, currently the audio information (including ID3) is stored in CDA files.
Each media is stored in separate files having media name as a file name and database type (CDI, CDL or CDA) as a file extension. This way users can easily copy database for a single media to another location. This also allows users to choose what do they want to copy e.g. users may copy only file structure (CDI) not copying ID3 tags (CDA). Sample database for “Some Media CD” may contain
"Some Media CD.cdi",
"Some Media CD.cdl" and
"Some Media CD.cda" files.
Tools¶CD-Index includes the following components:
cdindex- tool for creating database
cdfind- analogue of system
findfor CD-Index databases
cdbrowse- “plugin” for Midnight Commander allowing to browse CD-Index databases
The database is created using the
cdindex tool. For information how to use this tool read this page.
The database can be searched using the
cdfind tool syntax of which is very similar to system
find. For more information about the tool read this page.
CD-Index is a set of command-line tools without any UI but one of the tool (
cdbrowse) is used to extract the file structure tree for Midnight Commander. This way it became possible to browse the database in MC.
Plugins¶CD-Index has a plugin API allowing to extend its functionality. Currently two plugin types are supported:
- Plugins - used to access directory/file tree inside archive files
- Extractor - used to extract additional information about files (e.g. ID3 from
Plugins (archivers)¶Currently CD-Index supports only two plugins of this type:
- Archiver - plugin using
libarchivelibrary used to access archive files (
- External - plugin implementing its own plugin API which allows to integrate external tools like
At the moment only one extractor exists -
audio. This extractor is used to extract ID3 tags from audio files
For compilation and installation instructions check this page.