rsync + incremental changes files

Wayne Davison wayned at
Tue Nov 1 02:43:17 GMT 2005

On Mon, Oct 31, 2005 at 04:59:38PM -0300, Lautaro Di Martino wrote:
> Then, i have in the "incremental" directory symlinks to every file,
> becouse they aren't modified.

That will nullify the --link-dest option -- if a file exists in the
destination directory, the link-dest directory isn't used, and if the
destination file isn't identical to the source file, it is updated
(note: a symlink is not identical to a non-symlink).  In almost all
cases you want to copy into an empty directory when using --link-dest.
If you want to end up with just the changed files in the incremental
directory, rsync using --compare-dest into an empty directory.


More information about the rsync mailing list