#!/usr/local/bin/perl ########################################################################################################### # # # WSN story indexer # # by Doug Letterman # # # # This script periodically scans all the files and directories in the pubs/wsn # # directory and makes an HTML index called dir.html # # # # # ########################################################################################################### # Declare the variables $startingDir = "/www/sites/nyu.edu/htdocs/pages/pubs/wsn"; $startingURL = ""; $dirFile = "/www/sites/nyu.edu/htdocs/pages/pubs/wsn/dir.html"; open (DIRFILE, ">$dirFile") || warn "Could not open $archivedfilename\n"; print DIRFILE "\n
\n