I have a ksh unix script which downloads a zip file to a tem directory. When download is finished, i want that the same script copy the zip file to other directory?
How can i do it?
#/bin/ksh
cd /home/asha
FILENAAM=`/usr/sfw/bin/wget --execute=http_proxy=prox:8080 -q -O - -c "http://www.dct.de/download/index.cfm?onderdeel=HTML_PC" | \
egrep -i "R.*Htm.zip" | sed "s#.*\(\/download\/files/\R.*Htm.zip\).*#\1#"`
echo Current Name is $FILENAAM
/usr/sfw/bin/wget --execute=http_proxy=prox:8080 -q -O /tmp/htm.zip -c "http://www.dct.de${FILENAAM}"
how about