CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Searching directories and printing contents to selected webpages

 



waherne
Novice

Feb 14, 2000, 7:05 AM

Post #1 of 1 (1032 views)
Searching directories and printing contents to selected webpages Can't Post

Hi, would anyone have a script that would search directories (3 deep from local) and put the contents of each ultimate subdirectory into a webpage?

I do not want to specify the name of each subdirectory (and subdirectories within those)as there will be too many of them. So the starting point will be the local"."

For example:

Directory
./DirA/SubdirB/LevelA/file1.htm
./DirA/SubdirB/LevelA/file2.htm
./DirB/SubdirC/LevelB/file3.htm
./DirB/SubdirC/LevelC/file4.htm

This would result in the generation of 3 webpages for files(1&2,3,4). The first webpage would be called:

./DirA/SubdirB/LevelA/page.htm

The second webpage would be called:

./DirB/SubdirC/LevelB/page.htm

Thank you for your continued help.

Regards,

Willie

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives