> None of those examples show the block counts from ls ("ls -s"). Find
> reports both the file size in bytes (column 7) and the blocks used
> (column 2). They're reported the same in both ls and find:
>
> ~$ ls -dils TRACE.gz ; find TRACE.gz -ls ; stat TRACE.gz
> 181286 36 -rw-r--r--. 1 james users 29882 Apr 30 2008 TRACE.gz
> 181286 36 -rw-r--r-- 1 james users 29882 Apr 30 2008 TRACE.gz
. * *
. block count (72*512)/1024 file size in bytes
. *
. There's the 1K from the find -ls doc.
> File: `TRACE.gz'
> Size: 29882 Blocks: 72 IO Block: 4096 regular file
Got it. I think I was too focused on column 7 and the ls --block-size=
option not realizing how it affected disk usage and file size in `ls`.
I have to remember `ls -ls` rather than turning to `du`. ;-|
Thank you.
Peggy Russell