| 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) | |