[CentOS-mirror] I see all your new mirrors ...


aring at gmavt.net
Tue Jul 12 15:03:53 UTC 2011

Adam wrote:
> admin wrote:
>> Yes It would be great . I'm still rsync centos repo.
>> Could you provide me bash script to rsync with file locking ?
> Attached is a bash locking rsync script. This script is pretty
> informative and intelligent. It verifies that the time stamp of the
> server you are syncing form is newer then yours before it syncs. Hence
> it shouldn't ever delete files you have already downloaded if you hit an
> old mirror.
> Adam

Oops I forgot to remove a few lines of code at the bottom that also sync 
over the .torrent files to my bit torrent servers.  Attached is the code 
without those lines.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: RepoRsync.txt
URL: <http://lists.centos.org/pipermail/centos-mirror/attachments/20110712/54adbe13/attachment-0002.txt>

More information about the CentOS-mirror mailing list