[Spooks] off topic: samples web page
Chris Devers
[email protected]
Mon, 7 Jan 2002 11:45:13 -0600 (CST)
On Mon, 7 Jan 2002, Maciej Muszalski wrote:
> i'd like to make a web page with sound samples (over 110) and i'am
> looking for a software that would pick these files from a catalog and
> would make a html file with links to those files (of course i will first
> declere in some options a path for the download catalog on the server)
$ cat header.html > index.html
$ ls -1 | grep -v 'html$' | sed 's#\(.*\)#<p><a href="\1">\1</a>#' >>index.html
$ cat footer.html >> index.html
But that'll only work if you have the needed command line programs
installed on your computer, which you will on something unixy, but
would have to install (or emulate in dos) on Windows.
If updated often, save the above lines as a script & run as needed.
--
Chris Devers, knows this is offtopic but it's an easy question
"People with machines that think, will in times of crisis,
make up stuff and attribute it to me" - "Nikla-nostra-debo"