Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 08e15fc958b2431d97480ba45764e38b > files > 214

maradns-1.3.07.09-5.fc15.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