From alex at tvtransilvania.ro Fri Jun 5 18:01:51 2015 Content-Type: multipart/mixed; boundary="===============2375035634743859235==" MIME-Version: 1.0 From: Alexandru Ciobanu To: users at lists.fedoraproject.org Subject: Re: [Off Topic] Directory Listing to HTML Date: Tue, 18 Sep 2007 20:49:43 +0300 Message-ID: <46F00FB7.1050609@tvtransilvania.ro> In-Reply-To: 46EFF93A.4010200@beta.intcomgrp.com --===============2375035634743859235== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable James Kosin wrote: > Anyone have a good script to generate an HTML file for a directory > listing? > = In what language? Here are some pieces that can get you going. You can also do this is sh, = perl, etc., with a simple loop[1]. python: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/200131 php: $file\n"; } } } closedir($dir); clearstatcache(); ?> Not tested. [1]http://en.wikipedia.org/wiki/Control_flow#Loops --===============2375035634743859235==--