man rync : -n, --dry-run show what would have been transferred
rsync -aHv -n --delete --bwlimit=512 rsync://mirror.centos.org/cAos/centos/4.0/ /path/on/your/server/to/your/centos/4.0/dir/
-----Message d'origine----- De : centos-mirror-bounces@centos.org [mailto:centos-mirror-bounces@centos.org] De la part de Vicki Stanfield Envoyé : dimanche 10 avril 2005 21:46 À : Mailing list for CentOS mirrors. Objet : Re: [CentOS-mirror] Mirroring only 4.0 and updates
On Fri, Apr 08, 2005 at 01:53:29PM -0700, Shaun wrote:
you have to specify a path... example...
rsync -aHv --delete --bwlimit=512 rsync://mirror.centos.org/cAos/centos/4.0/ /path/on/your/server/to/your/centos/4.0/dir/
I usually set a bwlimit so i'm not a bw hog, so you can remove the bwlimit if you want.
Best Regards,
Shaun Reitan
Thanks, I see now. I had tried variations, but I did it wrong. Is there a way to tell how large the repo will be?
man rync : -n, --dry-run show what would have been transferred
rsync -aHv -n --delete --bwlimit=512 rsync://mirror.centos.org/cAos/centos/4.0/ /path/on/your/server/to/your/centos/4.0/dir/
Thanks. I didn't think of doing a dry run to determine that. I guess I should have. I did man rsync before I ran the command though.
Vicki