#!/bin/bash URL=$1 DIR="/home/kolan/websites" cd "$DIR" wget -c -np -m -k -r *.gif,*.jpg,*.rar,*.zip,*.gz*,*tar,*.tgz,*.rpm,*.bz2 $URL