I am looking for a Linux tool to search for files on offline media like CDs and DVDs. I know there are a lot of "cataloging" tools, but those are all graphical and I want a command line program. Ideal would be if works just like the well-known locate/updatedb bundle, with the only exception that the db update would have to be interactive, so that you can enter some id or description to a media, which will be printed by the locate-like tool, e.g.
$ medialocate foo.png MEDIA_DVD_01:/pictures/misc/foo.png MEDIA_DVD_08:/photos/foo.png MEDIA_DVD_08:/img/bar/foofoo.png
Does such a tool exist yet? I haven't found anything, but this probably due to the fact that terms like "locale"/"cd"/"files"/"catalog" are just too common to yield good results. It wouldn't be too hard to write something like that myself, but I don't want to reinvent the wheel here.