Hello everybody,
I'm using rsync (debian 3.0.2-1) to test my pet projects for correctness; but
now I've come across a bug (?) in rsync - it doesn't count transferred links,
ie. "Number of files transferred:" is wrong.
See:
# mkdir a b
# ln -s /bin/ls a/link ; t
For stats, rsync uses the word "file" inconsistently. When reporting
the total "Number of files", it indicates a total number of filesystem
objects which consists of regular files, directories, symlinks,
specials, and devices. When reporting number of "files"
files, directories, symlinks,
> specials, and devices.
That's fine by me.
> When reporting number of "files" transferred,
> it refers only to regular files.
That's not so good.
> I use the following patch to sort
> out these various file types in --stats
On Wed, Apr 16, 2008 at 06:51:37AM +0200, Ph. Marek wrote:
> So I'd need a clear indication whether source and target are identical
> - files (incl. mtime!), symlinks, devices, directories, everywhere
> owner, group, and mode, and in the near future possibly xattr too ..
That's what -i is for. I
Hello Wayne,
On Mittwoch, 16. April 2008, Wayne Davison wrote:
> On Wed, Apr 16, 2008 at 06:51:37AM +0200, Ph. Marek wrote:
> > So I'd need a clear indication whether source and target are identical
> > - files (incl. mtime!), symlinks, devices, directories, everywhere
> > owner, group, and mode,
On Fri, 2007-11-09 at 12:33 -0400, Jon wrote:
> I'm so confused as to what keeps happening to my subject. I started
> this thread as something like "Number of files transferred is wrong"
> and the two replies I've received so far have totally different
> subjects.
rring anything
that does not jive with the "Number of files transferred" and "Matched
data" stats and the absence of the -t option. ("Matched data" is data
matched by the delta-transfer algorithm in transferred files; files that
are already up to date are counted neither
00 files as the "Number of files" but
only 2 were indicated as transferred under the "Number of files
transferred" item of the same report.
I know this number is wrong as there was nothing in my testing dir and
now there are the entire contents of the /etc, /var and /root dir,
t dirs in my testing directory and the file
> space totalled a little over 1GB. The report generated by the --stats
> switch showed something like 35,000 files as the "Number of files" but
> only 2 were indicated as transferred under the "Number of files
> transferred&quo