HTTrack Website Copier
Free software offline browser - FORUM
Subject: Download specific subdirectory only
Author: Emanuel
Date: 10/18/2011 23:42
 
Hi there! I searched everywhere in the forum and could't find the answer to my
problem.

I have a site with the following structure:

(the ones I do want the files)
www.site.com/dir/[name]/subdir
www.site.com/dir/[other_name]/subdir
www.site.com/dir/[another_name]/subdir
(the ones I don't want the files)
www.site.com/dir/
www.site.com/dir/[name]/
www.site.com/dir/[name]/[other_name]/
www.site.com/dir/[name]/[other_name]/[another_name]/

Where "dir" and "subdir" are always the same  value but [name], [other_name],
[another_name] and so on changes.

I would like to download only the html folders/files that have the pattern:
www.site.com/dir/(name)/subdir

I tried the following scan rule with no success:

<http://www.site.com/dir/> -www.site.com/dir/* +www.site.com/dir/*/subdir

Here's the full command line:


(winhttrack -qiC2%PX0s2u1kZ%s%uN0%I0p1DaK0H0%kf2A25000%f#f -F "Mozilla/4.5
(compatible; HTTrack 3.0x; Windows 98)" -%F "<!-- Mirrored from %s%s by
HTTrack Website Copier/3.x [XR&CO'2010], %s -->" -%l "en, en, *"
<http://www.site.com/dir/> -O1 "C:\My Web Sites\www.site.com\www.site.com"
-www.site.com/dir/* +www.site.com/dir/*/subdir )


Thanks in advance!
 
Reply


All articles

Subject Author Date
Download specific subdirectory only

10/18/2011 23:42
Re: Download specific subdirectory only

10/19/2011 15:30
Re: Download specific subdirectory only

10/19/2011 16:49
Re: Download specific subdirectory only

10/19/2011 17:21
Re: Download specific subdirectory only

05/29/2022 00:27




e

Created with FORUM 2.0.11