2 ms·
"I'd love to see an extreeeemely minimal tool which lets you drop some files in a folder and then create an index page that links to those." I use the tree com
by every 7y ago
"I'd love to see an extreeeemely minimal tool which lets you drop some files in a folder and then create an index page that links to those."
I use the tree command on BSD to do just that. It has the option of creating html output with a number of additional options.
An example: tree -P *.txt -FC -H http://baseHREF http://baseHREF -T 'Your Title' -o index.html
- xwowsersx 7y agoOh wow thanks for sharing. I use tree all the time, but had no idea you could do this. baseHREF should be the full root domain, e.g. example.com?
- every 7y agoYeah. And play around with it. It's quite flexible. Color, CSS and other goodies. Takes me about 2 seconds to update my entire site...