Script to generate bibtex entries from filenames

I've written a small bash script to generate BibTeX entries from the information found in the filename passed as argument.

Since the pdf files I have respect a format like this: publisher - book name[ - year]?.pdf I've been able to write a script to generate the following:

@book{filename_translated,
  title="book name",
  publisher="publisher",
  note="complete filepath"
}

The complete source is in Subversion (misc/trunk/bin/importbookcd.sh).

  • Posted: 2007-06-02 23:17
  • Author: chous
  • Categories: chous

Comments

No comments.