(define sixhat
  (λ (dave)
    (display 'ideas)))

Creating html indices with tree

Many times I need to create an index of certain files in my computer, namely when they are spreaded over many subfolders. Using the utility tree generates indices quickly and in a format that makes them very useful.

For example, to find all PDF files:

tree -P '*.pdf' --prune -H . > index.html