HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: exclude httrack comments from mirrored pages
Author: Gadrin
Date: 10/19/2008 18:18
 
Next take one of your mirrors and copy it to a different folder (preferably a
small one just for testing).

Then open a DOS Command box. If you don't know how, use START > ALL PROGRAMS >
ACCESSORIES > COMMAND Prompt

Then type in:

for /R  J:\Temporary %f in (*.htm) do "N:\Edit-HTTrack-Comments.vbs" "%f"

Now, change "J:\Temporary" to whatever the new, test folder is called. Also
change the "N:\Edit-HTTrack-Comments.vbs" to whatever path you place it. Keep
the double-quotes around it.

Then hit ENTER. It should recurse the top level folder find all .HTM and .HTML
files and send them to the .VBS script which will remove the comments.

Double-check the .HTM/.HTML files to make sure the comments were removed.

If for some reason (*.htm) doesn't work, change it to (*.htm,*.html) to get
both.

I tested it on a small (6meg) mirror and it worked fine.


>
 
Reply Create subthread


All articles

Subject Author Date
exclude httrack headers from mirrored pages

10/17/2008 08:39
exclude httrack comments from mirrored pages

10/17/2008 09:15
Re: exclude httrack comments from mirrored pages

10/19/2008 15:31
Re: exclude httrack comments from mirrored pages

10/19/2008 18:13
Re: exclude httrack comments from mirrored pages

10/19/2008 18:18
Re: exclude httrack comments from mirrored pages

10/20/2008 19:09
Re: exclude httrack comments from mirrored pages

01/12/2009 22:46




5

Created with FORUM 2.0.11