Pat Gunn (dachte) wrote,
Pat Gunn

For a friend who wanted to download all the titles from The Baen online library without doing it by hand, I prodded at the source to their pages, and came up with some incantations to make it easy. I provide them here for your usage.

wget -r -np -l 1
cat *.htm | grep option | grep value | cut -d\" -f2 | grep http | xargs -n1 wget

Note that the prefix of a file determines what type it is.

  • H is HTML
  • M is MS Reader
  • P is Palm
  • R is Rocket
  • D is RTF
There's no good, automated way to get the titles.
Tags: tech

  • Still alive

    Been feeling a bit nostalgic. Not about to return to LiveJournal - their new ownership is unfortunate, but I wanted to briefly note what's been up…

  • Unplugging LJ

    It's about time I pulled the plug on the LJ version of my blog: 1) I'm much more active on G+ than I am with general blogging. I post many times a…

  • Mutual Trust

    I don't know which should be considered more remarkable: That a cat should trust a member of a far larger and stronger species that it can't…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded