[GNC] gunzip test.gnucash fails

Derek Atkins derek at ihtfp.com
Sun May 28 07:26:13 EDT 2023


For the record, yes, you can use gunzip, but you have to manually rename it 
first.
Having said that, the name space is used throughout the file, so you might 
have a large editing job to do... And such editing is not supported. Make 
sure you have a good backup.
-derek
Sent using my mobile device. Please excuse any typos.
On May 28, 2023 07:21:46 Ken Farley <farleykj at gmail.com> wrote:

> Where did you get the impression that you could use gunzip to uncompress
> the files?
>
> To "uncompress" the file you need to change your preferences in Gnucash
> to turn off "Compress Files", then save your file. This will make the
> file uncompressed.
>
> Best practice would be to copy the uncompressed file to another file
> before doing any sort of manual editing. That's a delicate thing that
> could cause problems.
>
> By the way, the file extensions of a file that is passed to any sort of
> uncompression software is usually how the program determines how it will
> handle the file. ".gnucash" is not a standard compressed file extension.
> gunzip most likely is expecting ".gz". That being said, unless it's
> explicitly stated in the Gnucash documentation somewhere, I wouldn't
> assume the Gnucash compression algorithm is compatible with any
> uncompression software.
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.



More information about the gnucash-user mailing list