File size anomaly? - Solved?

Tony Bloomfield tonyb.lx at btinternet.com
Wed Oct 15 17:01:01 CDT 2003


On Wednesday 15 October 2003 05:44, David Hampton wrote:
> On Tue, 2003-10-14 at 09:44, Tony Bloomfield wrote:
> > And after clicking the Save icon, without having made any changes (and no
> >
> > scheduled transactions posted), I have the following files:
> > >ls -l My*
> >
> > -rw-------    1 tonyb    users      123890 2003-10-14 11:54 MyFile
> > -rw-------    1 tonyb    users      124608 2003-10-14 11:14
> > MyFile.20031014115436.xac
> > ----------    2 tonyb    users           0 2003-10-14 11:31
> > MyFile.7f0200.24282.LNK
> > ----------    2 tonyb    users           0 2003-10-14 11:31 MyFile.LCK
> >
> > The same file sizes are seen when I exit gc. So, my file has reduced in
> > size by some 700 bytes. Why?
> >
> > I don't *think* I am losing any data, but would like to know.
>
> Run "diff MyFile.20031014115436.xac MyFile" and see what's changed.
>
> David

I had tried that but got a 'binary files differ' message. Then I discovered 
that gc's compression is gzip. When I gunzipped the files, they were the same 
size and identical.

Something to do with efficiency of compression I guess.

Cheers,
TonyB



More information about the gnucash-devel mailing list