Re: Mirroring
nt <ntlist@freemail.hu> writes:
> Is there any tool, which could mirror ftp and local
> directories in both
> direction?
Try mirrordir:
$ dpkg -s mirrordir
Package: mirrordir
Status: install ok installed
Priority: optional
Section: utils
Installed-Size: 458
Maintainer: James R. Van Zandt <jrv@vanzandt.mv.com>
Version: 0.10.48-2
Depends: libc6 (>= 2.1)
Description: duplicate a directory by making a minimal set of changes
mirrordir forces the mirror directory to be an exact replica of the
control directory tree in every possible detail suitable for purposes
of timed backup. Files whose modification times or sizes differ are
copied. File permissions, ownerships, modification times, access
times, and sticky bits are duplicated. Devices, pipes, and symbolic
and hard links are duplicated. Files or directories that exist in
the mirror directory that don't exist in the control directory are
deleted. It naturally descends into subdirectories to all their
depths. mirrordir tries to be as efficient as possible by making the
minimal set of changes necessary to mirror the directory.
Works over the network as well.
Greetings,
joachim
Reply to: