Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > c21ce21ed2b9178641591b8b861ea839 > files > 214

maradns-1.3.07.09-8.fc16.i686.rpm

#!/bin/bash

# Since the twerps at Sourceforge not longer allow directory indexes,
# this script makes them for me.

for dir in `find . -type d` ; do
	cd $dir
	ls -l | grep -v '^total' | \
           perl -pe 's/([\w\.\-]+)$/<A href=$1>$1<\/A><BR>/' > index.html
	cd ~-
done