To have a nice output the following command can be used to generate a nice files.pdf with the complete project print in highlighted colors:
find . -name '*.js' -or -name '*.json' -or -name '*.html'\
|xargs enscript -r -2 --file-align=1 --highlight --color --line-numbers -o - |ps2pdf - files.pdf
-r print landscape
-2 two pages by side
--file-align=1 every file on one page
--highlight and --color highlight the code with color
--line-numbers include line numbers
-o - print the output to stdout
Related Posts
Dec 16 | Autoconf - Automake | 1 min read |
Dec 16 | Cross Compile for AVR | 1 min read |
Dec 16 | Cross Compile for PPC | 1 min read |
Dec 16 | Kernel Module for 2.6 | 4 min read |
Dec 16 | Test-Framework | 3 min read |