On 20 Feb 2003, Paul Eggert wrote: > David Eisner <[EMAIL PROTECTED]> writes: > > > I was using du to get a sense of whether an rsync operation between > > two hosts was successful. ... > Perhaps if we changed 'du' to ignore directory sizes; but this is > sounding more and more like a special case just for you.
I agree. As I was telling Jim, I think I was using the wrong tool for the job. And yes, I had the problem you described. For example, on Solaris (ufs filesystem), empty directories are 512 bytes long, while on Cygwin + NTFS, they're 0 bytes. I just wrote a simple perl script to add up the (logical) sizes of regular files, and that worked well enough for my purposes. -David ------------------------+--------------------------+ David Eisner | E-mail: [EMAIL PROTECTED] | CALCE EPSC | Phone: 301-405-5341 | University of Maryland | Fax: 301-314-9269 | ------------------------+--------------------------+ _______________________________________________ Bug-coreutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-coreutils
