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.
Adam