Re: [GNC] - File Path for associated files

2018-09-12 Thread John Sears via gnucash-user
Yeah!  Thanks a lot!! I couldn't get the gzip -d file.xml.gz to do the extesion renaming, but just used gzip -d file.gz and then renamed it after the decompression. All text replaced and all transaction links working fine!!! Thanks a lot to all !!!  ( I even started learning about sed :) )

Re: [GNC] - File Path for associated files

2018-09-12 Thread Stephen M. Butler
On 09/12/2018 03:42 PM, Adrien Monteleone wrote: > FYI, You don’t have to re-compress the file. > > I just opened the uncompressed version with GnuCash and it worked just fine. > > Regards, > Adrien OK.  I'll try to remember that.  Feels a little lazy not returning 'em to the prior state.  <> >> O

Re: [GNC] - File Path for associated files

2018-09-12 Thread Adrien Monteleone
FYI, You don’t have to re-compress the file. I just opened the uncompressed version with GnuCash and it worked just fine. Regards, Adrien > On Sep 12, 2018, at 5:21 PM, Stephen M. Butler wrote: > > On 09/12/2018 02:56 PM, John Sears via gnucash-user wrote: >> I tried gedit and atom .. but onl

Re: [GNC] - File Path for associated files

2018-09-12 Thread Stephen M. Butler
On 09/12/2018 02:56 PM, John Sears via gnucash-user wrote: > I tried gedit and atom ..  but only seem to get gibberish..    my > first few lines..  ù > > "�a�`��0;��F%V����f�`uK@�S@�g�u�t|Ϭ�<>���==>=mx먞��r|���ݒ�O_��?��7���7~����o}�,ǧ߼}z��;���'���o�|

Re: [GNC] - File Path for associated files

2018-09-12 Thread Adrien Monteleone
The file *is* compressed. Opening a non-compressed version of the file will get you something like this: http://www.gnucash.org/XML/gnc"; xmlns:act="http://www.gnucash.org/XML/act"; xmlns:book="http://www.gnucash.org/XML/book"; xmlns:cd=“http://www.gnucash.org/XML/cd"; ... etc. R

Re: [GNC] - File Path for associated files

2018-09-12 Thread John Sears via gnucash-user
I tried gedit and atom ..  but only seem to get gibberish..    my first few lines..  ù "�a�`��0;��F%V����f�`uK@�S@�g�u�t|Ϭ�<>���==>=mx먞��r|���ݒ�O_��?��7���7~����o}�,ǧ߼}z��;���'���o�||�뗎O��~��w��{|.��~R��C?��{�=;�u�=�#.���\~Ƿ���yK?

Re: [GNC] - File Path for associated files

2018-09-12 Thread Adrien Monteleone
You should not need to manually mount any external drive like a USB key. It will automount for you in the /media part of the file tree as you noticed. Your issue is likely more as John noted that LO mucked up the XML. If you don’t want to attempt sed or nano, try Gedit (all come with Ubuntu) or

Re: [GNC] - File Path for associated files

2018-09-12 Thread Adrien Monteleone
The new nano 3.0 is now very fast at opening large files. (for those to skittish to jump into vim and emacs) Regards, Adrien > On Sep 12, 2018, at 8:37 AM, John Ralls wrote: > > LibreOffice is a word processor with its own XML features. It very likely > didn’t preserve GnuCash’s XML but inste

Re: [GNC] - File Path for associated files

2018-09-12 Thread Fross, Michael
Geert, what I'm hearing you say is that someone actually built a time machine and went back in time and implemented my idea. I didn't think it was all that great of an idea, but what you are suggesting makes a lot of sense. 😊 Thanks, I never noticed that! Michael On Wed, Sep 12, 2018 at 9:08 A

Re: [GNC] - File Path for associated files

2018-09-12 Thread Geert Janssens
Op woensdag 12 september 2018 15:45:17 CEST schreef Fross, Michael: > Directly editing the XML files is really scary to me. Seems like it would > be simple, but scary. > > One idea for the future is to have a GNUCash configured Associated Files > directory. This would be the root of all associa

Re: [GNC] - File Path for associated files

2018-09-12 Thread Fross, Michael
Directly editing the XML files is really scary to me. Seems like it would be simple, but scary. One idea for the future is to have a GNUCash configured Associated Files directory. This would be the root of all associated files. In the datafile, the filepath would originate from this directory.

Re: [GNC] - File Path for associated files

2018-09-12 Thread John Ralls
LibreOffice is a word processor with its own XML features. It very likely didn’t preserve GnuCash’s XML but instead substituted its own. Try again using a plain text editor like vi, vim, emacs, etc. Regards, John Ralls > On Sep 12, 2018, at 4:42 AM, John Sears via gnucash-user > wrote: > >

Re: [GNC] - File Path for associated files

2018-09-12 Thread John Sears via gnucash-user
Hi, yep, I have no problem finding the files and opening them on the filing system ( naultilus) .. Although I have not done any mounting per se..  should I ? On 12/09/2018 21:17, Michael or Penny Novack wrote: On 9/11/2018 8:00 PM, John Sears via gnucash-user wrote: So my files were all

Re: [GNC] - File Path for associated files

2018-09-12 Thread Michael or Penny Novack
On 9/11/2018 8:00 PM, John Sears via gnucash-user wrote: So my files were all stored on G:/documents/xxx.pdf Now that I have transferred to Linux, this path is not recognised - " GNUCash could not open the associated URI: file:///G:/documents/xxx.pdf" Is there a way to bulk edit the paths of a

Re: [GNC] - File Path for associated files

2018-09-12 Thread John Sears via gnucash-user
Hi , My file doesn't seem to be compressed.  I managed to open it up directly in LibreOffice Word and do the replacement. and then save the file as a .xml.  ( over 9000 pages !) I don't seem to be able to open this XML file in GNC..  I get the "No suitable backend was found for /media/john/U

Re: [GNC] - File Path for associated files

2018-09-11 Thread Adrien Monteleone
Perhaps someone else who’s come across this might offer some tips, but here’s how I’d approach it: Your data file (if using the default backend) is just an XML file that is compressed. Uncompress it (with tar) and use either your favorite text editor or sed command to conduct a find&replace.

[GNC] - File Path for associated files

2018-09-11 Thread John Sears via gnucash-user
When using the associate files function  for a transaction within GNUCash on Windows, I stored all of my pdfs on an  external USB/ SD card. Windows  mapped this address  with a letter, G, in this case.  ( I also store my accounts on this same card now) So my files were all stored on G:/documents/