I am building a home made catalog/indexer of my PDF/DJVU/EPUB/LIT/unspecified files. I need only index the file names. Indexing contents are not needed as I always keep descriptive file names. The locate command does a good job and outputs the results (after I build the index with updatedb).
However I would like to see only genuine files, not directories. Can I manipulate locate into such a behavior?