Number of files transferred

2008-04-15 Thread Ph. Marek
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

Re: Number of files transferred

2008-04-15 Thread Mike Bombich
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"

Re: Number of files transferred

2008-04-15 Thread Ph. Marek
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

Re: Number of files transferred

2008-04-15 Thread Wayne Davison
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

Re: Number of files transferred

2008-04-16 Thread Ph. Marek
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,

Re: Number of FIles Transferred Seems Wrong

2007-11-10 Thread Matt McCutchen
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.

Re: Number of FIles Transferred Seems Wrong

2007-11-10 Thread Matt McCutchen
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

Re: Number of Files Transferred Seems Wrong

2007-11-27 Thread Jon
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,

Re: Number of Files Transferred Seems Wrong

2007-11-27 Thread Matt McCutchen
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