httrack(1) General Commands Manual httrack(1) (NAME) httrack - : (SYNOPSIS) httrack [ url ]... [ -filter ]... [ +filter ]... [ -O, --path ] [ -w, --mirror ] [ -W, --mirror-wizard ] [ -g, --get-files ] [ -i, --continue ] [ -Y, --mirrorlinks ] [ -P, --proxy ] [ -%f, --httpproxy-ftp[=0] ] [ -%b, --bind ] [ -rN, --depth[=N] ] [ -%eN, --ext-depth[=N] ] [ -mN, --max-files[=N] ] [ -MN, --max-size[=N] ] [ -EN, --max-time[=N] ] [ -AN, --max-rate[=N] ] [ -%cN, --connection-per-second[=N] ] [ -%G, --pause ] [ -GN, --max-pause[=N] ] [ -cN, --sockets[=N] ] [ -TN, --timeout[=N] ] [ -RN, --retries[=N] ] [ -JN, --min-rate[=N] ] [ -HN, --host-control[=N] ] [ -%P, --extended-parsing[=0] ] [ -n, --near ] [ -t, --test ] [ -%L, --list ] [ -%S, --urllist ] [ -%m, --sitemap ] [ -NN, --structure[=N] ] [ -%N, --delayed-type-check[=N] ] [ -%D, --cached-delayed-type-check[=0] ] [ -%M, --mime-html[=0] ] [ -%Z, --single-file[=0] ] [ -LN, --long-names[=N] ] [ -KN, --keep-links[=N] ] [ -x, --replace-external ] [ -%x, --disable-passwords[=0] ] [ -%q, --include-query-string[=0] ] [ -%g, --strip-query ] [ -%C, --host-alias ] [ -o, --generate-errors[=N] ] [ -X, --purge-old[=0] ] [ -%p, --preserve ] [ -%T, --utf8-conversion[=0] ] [ -bN, --cookies[=N] ] [ -%K, --cookies-file ] [ -%Y, --why ] [ -u, --check-type[=N] ] [ -j, --parse-java[=N] ] [ -sN, --robots[=N] ] [ -%h, --http-10[=0] ] [ -%k, --keep-alive[=0] ] [ -%z, --disable-compression[=0] ] [ -%B, --tolerant[=0] ] [ -%s, --updatehack[=0] ] [ -%u, --urlhack[=0] ] [ -%A, --assume ] [ -@iN, --protocol[=N] ] [ -%w, --disable-module ] [ -F, --user-agent ] [ -%R, --referer ] [ -%E, --from ] [ -%F, --footer ] [ -%l, --language ] [ -%a, --accept ] [ -%X, --headers ] [ -C, --cache[=N] ] [ -k, --store-all-in-cache ] [ -%r, --warc ] [ -%d, --changes[=0] ] [ -%n, --do-not-recatch[=0] ] [ -%v, --display[=N] ] [ -Q, --do-not-log ] [ -q, --quiet ] [ -z, --extra-log ] [ -Z, --debug-log ] [ -v, --verbose ] [ -f, --file-log ] [ -f2, --single-log ] [ -I, --index[=0] ] [ -%i, --build-top-index[=0] ] [ -%I, --search-index[=N] ] [ -pN, --priority[=N] ] [ -S, --stay-on-same-dir ] [ -D, --can-go-down ] [ -U, --can-go-up ] [ -B, --can-go-up-and-down ] [ -a, --stay-on-same-address ] [ -d, --stay-on-same-domain ] [ -l, --stay-on-same-tld ] [ -e, --go-everywhere ] [ -%H, --debug-headers ] [ -%!, --disable-security-limits[=0] ] [ -V, --userdef-cmd ] [ -%W, --callback ] [ -y, --background-on-suspend[=0] ] [ -K, --keep-links[=N] ] (DESCRIPTION) httrack HTML . HTTrack . <<>> . HTTrack . (EXAMPLES) httrack www.example.com/bob/ www.example.com/bob/ httrack www.example.com/bob/ other.example.com/mike/ +*.com/*.jpg -mime:application/* ( ) .jpg .com httrack www.example.com/bob/bobby.html +* -r6 httrack www.example.com/bob/bobby.html --spider -P proxy.example.com:8080 httrack --update httrack httrack --continue (OPTIONS) (General options): -O / + (-O path_mirror[,path_cache_and_logfiles]) (--path ) (Action options): -w * (--mirror) -W ( ) (--mirror-wizard) -g ( ) (--get-files) -i (--continue) -Y ( ) (--mirrorlinks) (Proxy options): -P / (-P [socks5://|connect://][user:pass@]proxy:port) (--proxy ) -%f * ftp ( f0 ) (--httpproxy-ftp[=0]) -%b / (-%b hostname) (--bind ) (Limits options): -rN N (* r9999) (--depth[=N]) -%eN N (* %e0) (--ext-depth[=N]) -mN HTML (--max-files[=N]) -mN,N2 HTML ( N) HTML ( N2) -MN / (--max-size[=N]) -EN (= = ) (--max-time[=N]) -AN / (1000= 1KB/s) (--max-rate[=N]) -%cN (*%c5) (--connection-per-second[=N]) -%G MIN[:MAX] ( %G5:10) (--pause ) -GN N (--max-pause[=N]) (Flow control): -cN (*c4) (--sockets[=N]) -TN (--timeout[=N]) -RN (*R1) (--retries[=N]) -JN (/) (--min-rate[=N]) -HN : 0= 1= 2= 3= (--host-control[=N]) (Links options): -%P * (%P0 ) (--extended-parsing[=0]) -n HTML <<>> HTML ( ) (--near) -t ( ) (--test) -%L ( ) (--list ) -%S ( ) (--urllist ) -%m (sitemap) ( Sitemap: robots.txt /sitemap.xml) --sitemap-url URL . Disallow robots.txt /sitemap.xml . (--sitemap) (Build options): -NN (0 * +1: ) (--structure[=N]) (-N "%h%p/%n%q.%t" --structure --user-structure) --structure : -N1L0 --structure=1L0 -%N () (%N0 %N1 * %N2 ) (--delayed-type-check[=N]) -%D (%D0 * %D1 ) (--cached-delayed-type-check[=0]) -%M RFC MIME (.mht) (--mime-html[=0]) -%Z data: URI ( ) --single-file-max-size N ( ). %M : base64 (--single-file[=0]) -%t MIME ( %t0 ) -LN (L1 * / L0 - / L2 ISO9660) (--long-names[=N]) -KN ( http://www.adr/link) ( K0 * K K4 K3 URI K5 ) (--keep-links[=N]) -x HTML (--replace-external) -%x (%x0 ) (--disable-passwords[=0]) -%q * (query string) ( ) (%q0 ) (--include-query-string[=0]) -%g ([host/pattern=]key1,key2,...) (--strip-query ) -%C ([scheme://]alias[,...]=[scheme://]host) (--host-alias ) -o * (404 ...) ( o0 ) (--generate-errors[=N]) -X * (X0 ) (--purge-old[=0]) -%p HTML << >> ( '-K4 -%F ""') (--preserve) -%T UTF-8 (--utf8-conversion[=0]) (Spider options): -bN cookies.txt (0= * 1=) (--cookies[=N]) -%K cookies.txt (--cookies-file ) -%Y (--why ) -u (cgi asp ...) ( u0 * u1 / u2 ) (--check-type[=N]) -j * (j0 : |1 |4 .js |8 ) (--parse-java[=N]) -sN robots.txt robots (0= 1= * 2= 3= ( )) (--robots[=N]) -%h HTTP/1.0 ( ) (--http-10[=0]) -%k keep-alive (%k0 ) (--keep-alive[=0]) -%z (%z0 ) (--disable-compression[=0]) -%B ( !) (--tolerant[=0]) -%s : ( ...) (--updatehack[=0]) -%u : ( // www.foo.com==foo.com ...) (--urlhack[=0]) : --keep-www-prefix ( www.foo.com foo.com) --keep-double-slashes ( //) --keep-query-order ( ?b&a) -%A (cgi asp ...) MIME (-%A php3,cgi=text/html;dat,bin=application/x-zip) (--assume ) : '--assume standard' -%A php2 php3 php4 php cgi asp jsp pl cfm nsf=text/html : --assume foo.cgi=text/html -@iN (0= ipv6+ipv4 4= ipv4 6= ipv6) (--protocol[=N]) -%w MIME (-%w httrack-plugin) (--disable-module ) (Browser ID): -F user-agent HTTP (-F "user-agent name") (--user-agent ) -%R (referer) HTTP (--referer ) -%E (from) HTTP (--from ) -%F HTML (-%F "Mirrored from {url} on {date}" {addr} {path} {url} {date} {lastmodified} {version} {mime} {charset} {status} {size} %s) (--footer ) -%l (-%l "fr, en, jp, *" (--language ) -%a (-%a "text/html,image/png;q=0.9,*/*;q=0.1" (--accept ) -%X HTTP (-%X "X-Magic: 42" (--headers ) (Log, index, cache): -C / (C0 C1 * C2 ) (--cache[=N]) -k ( ) (--store-all-in-cache) -%r ISO-28500 WARC/1.1 --warc-file NAME --warc-max-size N N --warc-cdx CDXJ --wacz WACZ (--warc) -%d hts-changes.json (--changes[=0]) -%n (--do-not-recatch[=0]) -%v ( ) - * %v1 - %v2 (--display[=N]) -Q - (--do-not-log) -q - (--quiet) -z - (--extra-log) -Z - (--debug-log) -v (--verbose) -f * (--file-log) -f2 (--single-log) -I * (I0 ) (--index[=0]) -%i (* %i0 ) (--build-top-index[=0]) -%I (* %I0 ) (--search-index[=N]) (Expert options): -pN : (* p3) (--priority[=N]) p0 ( ) p1 HTML p2 HTML *p3 p7 HTML -S (--stay-on-same-dir) -D * (--can-go-down) -U (--can-go-up) -B (--can-go-up-and-down) -a * (--stay-on-same-address) -d (--stay-on-same-domain) -l (TLD) (: .com) (--stay-on-same-tld) -e (--go-everywhere) -%H HTTP (--debug-headers) (Guru options): ( ) -#test ( -#test=NAME [args]) -#C (-#C '*.com/spider*.gif' (--debug-cache ) -#R ( ) (--repair-cache) -#d (--debug-parsing) -#E new.zip meta.zip -#f (flush) (--advanced-flushlogs) -#FN (--advanced-maxfilters[=N]) -#h (--version) -#K () (--debug-scanstdin) -#L (-#L1000000) (--advanced-maxlinks[=N]) -#p (--advanced-progressinfo) -#P (--catch-url) -#T (--debug-xfrstats) -#u (--advanced-wait[=N]) -#Z (--debug-ratestats) (Dangerous options): ( ) -%! ( ) (--disable-security-limits[=0]) : (Command-line specific options): -V ($0 : -V "rm \$0") (--userdef-cmd ) -%W (-%W myfoo.so[,myparameters]) (--callback ) -y (y0 ) (--background-on-suspend[=0]) : N (Details: Option N) -N0 () -N1 HTML web/ / web/images/ -N2 HTML web/HTML / web/images -N3 HTML web/ / web/ -N4 HTML web/ / web/xxx xxx ( gif web/gif ) -N5 / web/xxx HTML web/HTML -N99 web/ (!) -N100 www.domain.xxx/ -N101 N1 "web" -N102 N2 "web" -N103 N3 "web" -N104 N4 "web" -N105 N5 "web" -N199 N99 "web" -N1001 N1 "web" -N1002 N2 "web" -N1003 N3 "web" ( g) -N1004 N4 "web" -N1005 N5 "web" -N1099 N99 "web" : N (Details: User-defined option N) -%n / (: image) -%N / (: image.gif) -%t / (: gif) -%p [ ] (: /someimages) -%h (: www.example.com) -%M MD5 ( ) -%Q MD5 ( ) -%k -%r (: http) -%q MD5 ( ) '%s?' (: %sN) -%[param] param -%[param:before:after:empty:notfound] : N (Details: User-defined option N and advanced variable extraction) %[param:before:after:empty:notfound] param : before : after : notfound : empty : ( ) : K (Details: Option K) -K0 foo.cgi?q=45 -> foo4B54.html?q=45 ( URI ) -K -> http://www.example.com/folder/foo.cgi?q=45 ( URL ) (--keep-links[=N]) -K3 -> /folder/foo.cgi?q=45 ( URI ) -K4 -> foo.cgi?q=45 ( URL ) -K5 -> http://www.example.com/folder/foo4B54.html?q=45 ( URL ) (Shortcuts): --mirror * () () --get (-qg) --list (-%L) --mirrorlinks (-Y) --testlinks (-r1p0C0I0t) --spider () : (-p0C0I0t) --testsite --spider --skeleton HTML (-p1) --update (-iC2) --continue (-iC1) --catchurl (POST) --clean --http10 HTTP/1.0 (-%h) : %W: (Details: Option %W: External callbacks prototypes) htsdefines.h (see htsdefines.h) (EXIT STATUS) 0 : --max-time --max-size. . 3 : -#L . . . exit_xh . 1, 255 httrack . . (FILES) /etc/httrack.conf . (ENVIRONMENT) HOME /etc/httrack.conf : path ~/websites/# (DIAGNOSTICS) / hts-log.txt -v (stderr) . (LIMITS) HTTrack . . - (: img.src='image'+a+Mobj.dst+'.gif') - Cgi-bin ( ). : -*cgi-bin* (BUGS) . httrack . . (COPYRIGHT) (C) - Xavier Roche . : (GNU GPL) ( ) . . . . . (AVAILABILITY) httrack : https://www.httrack.com (AUTHOR) Xavier Roche (SEE ALSO) HTML ( https://www.httrack.com/html ) . httrack FAQ ( https://www.httrack.com/html/faq.html ) . httrack website copier 02 September 2026 httrack(1)