HTTrack Website Copier
Free software offline browser - FORUM
Subject: Command line - two different lists?
Author: Beverley
Date: 10/25/2006 20:48
 
I am running HTTrack from the commandline.

I have two text files -- one in which I want to download the files listed and
no others, and one in which I want to download all of the first-level links.

I've got it working currently by splitting up the resulting mirrors into two
separate folders (called 1 and 2) but really I would like them to coexist in a
single folder.  When I tried running the following commands without using
folders 1 and 2, the second call to httrack deleted all of the files
downloaded by the first call.

Is there a way to do this?
---- begin code ---

echo Mirroring single-file list
cd %OUTPUTFOLDER%\1
cd
%BatchPath%httrack\httrack.exe --list %BatchPath%SiteLinks\01_SingleFile.txt
--verbose --depth=1 --continue

echo Mirroring one-link-deep list
cd %OUTPUTFOLDER%\2
cd
%BatchPath%httrack\httrack.exe --list
%BatchPath%SiteLinks\02_FilePlusOneLink.txt --verbose --depth=2 --continue

---- end code ---
 
Reply


All articles

Subject Author Date
Command line - two different lists?

10/25/2006 20:48
Re: Command line - two different lists?

10/25/2006 20:50
Re: Command line - two different lists?

10/27/2006 01:03




5

Created with FORUM 2.0.11