[GNC] - File Path for associated files

Adrien Monteleone adrien.monteleone at lusfiber.net
Wed Sep 12 11:53:14 EDT 2018


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 Atom. (need to install that one separately)

I’d have to say, sed is probably the fastest method but you’ll need to read over a few pages of sed command examples on replacing text, be mindful of escaping special characters like “/“ and “:”. Otherwise, Gedit and Atom are straight forward with no learning curve with Find & Replace operations similar to LO.

Regards,
Adrien

> On Sep 12, 2018, at 8:23 AM, John Sears via gnucash-user <gnucash-user at gnucash.org> wrote:
> 
> 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 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 all the  links so that Linux
>>> will recognise  the SD path?  I would prefer not to go  into every
>>> single transaction to do this, as I have a lot of linked files.
>>> 
>>> Or is there someway ( and this might be more of a Linux question) to map
>>> the SD card to the "file:///G" terminology.
>>> 
>>> Thanks! 
>>  Been a while since I used a 'nix operating system and I don't know what modern linuxes might provide for "automounting". But in a traditional 'nix environment you don't just stick in removable devices. You also have to "mount" (and when removing, "umount") them.
>> 
>> In other words, I think yours is a "new 'nix user" problem. Forget gnucash for a moment. Can you put a file (say a document) on a removable device and then plug that device into your 'nix machine and open it? The path will not be the same as in Windows. The path to the data (in linux) will depend on WHERE in the linux file system you mounted it? << The "mount" command will have specified that >>
>> 
>> Michael
>> 
>> Michael D Novack
>> _______________________________________________
>> 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
>> If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
>> -----
>> Please remember to CC this list on all your replies.
>> You can do this by using Reply-To-List or Reply-All.
> 
> _______________________________________________
> 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
> If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> 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