HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: Filters again
Author: Leto
Date: 12/04/2002 00:26
 
> (A) Does a filter '/dir/*' catch also the files in 
> a /dir/subdir subdirectory? 
> Or does this filter only match the files in the /dir 
> Directory (without any 'lower' files)?> If the first alternative: How should
I filter only the 
> files in the /dir directory?
'/dir/*' will catch anything and everything below /dir/, for example:
/dir/page.htm
/dir/subdir/
/dir/subdir/page.htm
/dir/subdir/another/

If you wanted to exclude /dir/, but include /dir/subdir/ you could try the
following, but there must be links elsewhere that point to those lower levels
of /dir/ else you will not be able to mirror them
-*/dir/*
+*/dir/*/*


> (B)
> Suppose, there is a link to a directory '/dir' (HTTrack 
> creates then locally an index.html file). Is the filter 
> applied to the remote link (an 'empty' filename) or the 
> local index.html file?
All filters are applied to the remote URLs.
 
Reply Create subthread


All articles

Subject Author Date
Filters again

12/03/2002 23:52
Re: Filters again

12/04/2002 00:26
Re: Filters again

12/04/2002 18:36




1

Created with FORUM 2.0.11