Welcome to WebmasterWorld Guest from 54.167.177.207

Forum Moderators: phranque

Tool which extracts web pages from hard drive

and imports to a text file

   
11:53 am on Jan 22, 2001 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I'm looking for a tool which will extract all html files from a folder on the local hard drive (folder being named mysite.com) and will extract all pages out of the folder and write them to a text file: [mysite.com...] [mysite.com...] etc.

Is there such a program or script out there. This would be a great time saver when doing the cross linking thing.

7:21 pm on Jan 22, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Assuming you're using Windoze and you just want a text list of the files in a folder, DOS or a command prompt will do it for you using redirects.

dir *.html /b > filenames.txt

The "/b" switch gives a bare listing, no file date/size et al. The ">" redirects the output to the file you specify.

Add a "/o" switch to set sort order or a "/s" to include subdirectories.

10:09 am on Jan 23, 2001 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Thanks Dave.
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month