[CentOS-mirror] Rsync on Windows & Mirroring Best Practices

Karanbir Singh mail-lists at karan.org
Fri Sep 15 01:18:21 UTC 2006


William Dunn wrote:
> I made my own lockfiles, and I know they're not as robust as they should 
> be, but I did it in a hurry, and so far they've worked.
> 
> #!/bin/bash
> if [ -f /root/rsync-scripts/centos.lockfile ]
> then
> echo "lock file exists, exiting..."
> exit
> fi
> #echo "creating lock file..."
> touch /root/rsync-scripts/centos.lockfile
> rsync -aqzH --partial --delete us-msync.centos.org::CentOS 
> /home/ftp/pub/CentOS
> rm -f /root/rsync-scripts/centos.lockfile


i dont think this is actually going to work on a win2k3 machine, without 
some external aid (!)

-- 
Karanbir Singh : http://www.karan.org/ : 2522219 at icq



More information about the CentOS-mirror mailing list