[elrepo] Creating local ELRepo mirror without rsync

Nikolay Ulyanitsky lystor at lystor.org.ua
Thu Nov 26 03:28:00 EST 2009


Update: excluding the fasttrack directory

#!/bin/bash
SRC=http://elrepo.org/linux/
DST=/var/ftp/pub/elrepo/

cd $DST
lftp -e "set mirror:exclude-regex fasttrack && mirror --delete
--only-newer --verbose && exit" $SRC


-- 
With best regards,
Nikolay Ulyanitsky
http://www.lystor.org.ua



More information about the elrepo mailing list