mirror - Mirror remote files or directories
Mirror is a general purpose, simple, portable tool for mirroring remote file systems and keeping the local copy updated.
It uses rsync under the covers, so it is fast at updates. Rsync only transfers the parts of files that have changed.
Mirror was originally written so that we would have a tool that was convenient for keeping an updated local copy of the DragonFly BSD source repository with the ability to update from any one of the rsync servers. We did not want to have dependencies on cvsup, a non-portable tool, written in Modula-3, that after several years, as of the time of this writing, still did not have a native port to DragonFly BSD.
It comes with a mirror file that is pre-configured for maintaining a local copy of the DragonFly BSD source code repository and documentation.