#!/bin/sh
remote="ftp.linux.cz/pub/linux/fedora-core/updates/testing/1/i386/"
local="/home/install/distribuce/fedora/updates/testing/1/i386/"
#exclude="/home/install/distribuce/fedora/updates/1/i386/debug/"
exclude="*debuginfo*"
remote=$remote"*"
echo "$exclude"
echo $remote
#rsync -av --partial --force --delete-after rsync://$remote $local
rsync -av --stats --progress --partial --force --delete-after --exclude "$exclude" "rsync://$remote" "$local"

