HTTrack Website Copier
Free software offline browser - FORUM
Subject: shell scripting httrack
Author: cobasa
Date: 12/10/2007 22:04
 
hello,

i'm trying to write some shell scripts and cron jobs to archive a site
automatically. my shell script works, but i'm getting some feedback errors
that i would like to avoid. any help is greatly appreciated. even just schell
scripting with httrack examples would rule it.

here is the tcsh version of my shell script:

#!/bin/tcsh
# create meaningful named, dated folder for archive
set tdy=`date +%Y"_"%m"_"%d"_"%H"_"%M`
set
savetopath="/usr/local/www/mysite.com/httpdocs/site_archives/clientname/"$tdy"_sitename_oneleveldeep"

`httrack <http://www.sitetobackup.com/> -O $savetopath "+*.sitetobackup.com/*"
-F "httrack useragentarchiver" -r3 -m2000000 -c4 -nv`



the archive is getting created, but when the job is done, i get:

* `httrack <http://www.sitetobackup.com/> -O $savetopath
"+*.sitetobackup.com/*"  -nv -F "httrack testfrombentserver" -r3 -m2000000
-c4`: No match. (in my tcsh version of this script)

* HTTrack3.22-3-nozip-nossl: command not found (in my bash version of this
script with -nv option added
* Mirror: command not found (in my bash version of this script without -nv
option)
 
Reply


All articles

Subject Author Date
shell scripting httrack

12/10/2007 22:04
Re: shell scripting httrack

12/12/2007 14:27
Re: shell scripting httrack

12/17/2007 17:09
Re: shell scripting httrack

12/18/2007 07:35
Re: shell scripting httrack

02/21/2008 00:12




8

Created with FORUM 2.0.11