HTTrack Website Copier
Free software offline browser - FORUM
Subject: Using the -g flag with filters
Author: Keith C
Date: 09/12/2005 19:48
 
I would like to know if it is possible to use the -g flag to get files within a
directory matching a filter.  In essence, what I am trying to do is grab all
of the zip files out of a particular directory on the web and copy them into a
local directory without copying the file structure of the website.

The -g flag works for one particular file, such as:
httrack -g <http://site.com/dir/bleh.zip>

However, if I try to use it like this:
httrack -g <http://site.com/dir> +*.zip
the filter is ignored, and I just get any html files within the specified
directory.

If I skip the -g flag, and do something like:
httrack <http://site.com> -* +http://site.com/dir/*.zip 
The entire directory structure is copied, which is exactly what I do not
want.

Any advice on how to get this accomplished would be appreciated.
 
Reply


All articles

Subject Author Date
Using the -g flag with filters

09/12/2005 19:48




f

Created with FORUM 2.0.11