I would like to be able to easily create html-colored versions of a list of files (ex: "all the files in this directory", or "this list of files")
I know that I can do this manually, one by one, by:
- opening the file (ex:
:e /path/to/Foo.bash) in vim (with syntax enabled)
:hardcopyto obtain a html-version of the file that also contains the syntax highlighting colors
- saving that file (ex:
But how can I "automate" this, ie do it for either all files in a directory or for a list of comma separated file names ?