about --link-dest
Matt McCutchen
matt at mattmccutchen.net
Fri Dec 11 10:49:54 MST 2009
On Fri, 2009-12-11 at 11:04 +0100, Noel David Torres Taño wrote:
> On Friday 11 December 2009 03:43:30 you wrote:
> > On Fri, 2009-12-11 at 01:25 +0100, Noel David Torres Taño wrote:
> > > I don't know what I'm doing bad, but --link-dest does not work for me:
> [...]
> >
> > Pass -i to find out why rsync didn't use the file from copy1. There
> > might be a difference in the seconds part of the mtime, which would not
> > show up in the "ls" output.
> >
>
> $ rsync -avi --link-dest=$PWD/copy1 origin/ copy2
> sending incremental file list
> .d..t...... ./
> >f..t...... kk
>
> sent 104 bytes received 35 bytes 278.00 bytes/sec
> total size is 3 speedup is 0.02
>
> I do not understand that output
The output format of -i is described in the man page. The "t" indicates
that copy1/kk differs from origin/kk in modification time, which
disqualifies it from being linked since you asked rsync to preserve
modification time as part of -a.
--
Matt
More information about the rsync
mailing list