Re: [GNC] gunzip test.gnucash fails

2023-06-03 Thread Fred Bone
On 02 June 2023 at 1:20, David G. Pickett said: > Now if only the digest email back was a readable as and, unmodified from, > the email out? Try the MIME-Digest. ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription

Re: [GNC] gunzip test.gnucash fails

2023-06-01 Thread David G. Pickett via gnucash-user
Now if only the digest email back was a readable as and, unmodified from, the email out? -Original Message- From: David G. Pickett To: gnucash-user@gnucash.org Sent: Wed, May 31, 2023 3:00 pm Subject: Re: [GNC] gunzip test.gnucash fails Quick tutorial on OS file name extensions

Re: [GNC] gunzip test.gnucash fails

2023-05-31 Thread Maf. King
On Wednesday, 31 May 2023 20:00:48 BST David G. Pickett via gnucash-user wrote: > gunzip does not care about the name. It does, sort of. more than you might expect for such an ancient Unix program. from the man page: gunzip takes a list of files on its command line and replaces each file

Re: [GNC] gunzip test.gnucash fails

2023-05-31 Thread David G. Pickett via gnucash-user
Quick tutorial on OS file name extensions (suffixes) and file type: While '.gz' tells your OS it needs to go to gunzip to be uncompressed into a file without the '.gz', gunzip does not care about the name.  To bypass the OS extension association, you can force the input and output file names

Re: [GNC] gunzip test.gnucash fails

2023-05-29 Thread R Losey
So I looked up the gzip/gunzip command; the -S "" option will allow it to work on any file (it basically ignores the 'suffix') Thus, you should be able to do gunzip -S "" test.gnucash On Sun, May 28, 2023 at 10:21 AM Fred Tydeman wrote: > On Sun, May 28, 2023 at 4:20 AM Ken Farley

Re: [GNC] gunzip test.gnucash fails

2023-05-29 Thread R Losey
I remember running into this problem; there is an option to tell gunzip to ignore the extension (but I don't remember it at the moment)... alternatively, you could make a copy of the gnucash file and rename it with a .gz extension instead of gnucash. On Sun, May 28, 2023 at 12:28 AM Fred Tydeman

Re: [GNC] gunzip test.gnucash fails

2023-05-28 Thread Fred Tydeman
On Sun, May 28, 2023 at 4:20 AM Ken Farley wrote: > Where did you get the impression that you could use gunzip to uncompress > the files? > A previous message about mass change of stock price source used gunzip as part of that process. But, in rereading that message, I see that I missed that

Re: [GNC] gunzip test.gnucash fails

2023-05-28 Thread John Ralls
I don't see any in my file. Edit a copy and load it. Regards, John Ralls > On May 28, 2023, at 10:51, Fred Tydeman wrote: > > Besides changing lines like: > tb > are there any other places I need to worry about? > > On Sun, May 28, 2023 at 4:26 AM Derek Atkins wrote: > >> For the record,

Re: [GNC] gunzip test.gnucash fails

2023-05-28 Thread David Carlson
I don't think this maillist should be cluttered up with details that clearly fall in the developer territory. If you look in the right place, there may be some information about the file structure, but not here. On Sun, May 28, 2023 at 9:52 AM Fred Tydeman wrote: > Besides changing lines like:

Re: [GNC] gunzip test.gnucash fails

2023-05-28 Thread Fred Tydeman
Besides changing lines like: tb are there any other places I need to worry about? On Sun, May 28, 2023 at 4:26 AM Derek Atkins wrote: > 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

Re: [GNC] gunzip test.gnucash fails

2023-05-28 Thread John Ralls
gzip requires the compressed filename to end in `.gz`, which it will remove from the name of the uncompressed file. Just rename the file to test.gnucash.gz and unzip that: mv test.gnucash test.gnucash.gz gunzip test.gnucash.gz emacs test.gnucash Regards, John Ralls > On May 28, 2023, at

Re: [GNC] gunzip test.gnucash fails

2023-05-28 Thread Derek Atkins
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

Re: [GNC] gunzip test.gnucash fails

2023-05-28 Thread Ken Farley
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

[GNC] gunzip test.gnucash fails

2023-05-27 Thread Fred Tydeman
I am trying to unzip a copy of my gnucash file with: gunzip test.gnucash But, I get: unknown suffix -- ignored I am running Fedora Linux 37 and Gnucash 4.14 I am trying to change the name of a parent security namespace which has many children. I had hoped that I could edit the uncompressed XML