[GNC] - File Path for associated files

Fross, Michael michael at fross.org
Wed Sep 12 09:45:17 EDT 2018


 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.  A user could
move these files to a new location with a simple UI directory update in
preferences.

For example:

GNUCash Associated Directory=C:\Gnucash\AssociatedFiles

Files:
C:\Gnucash\AssociatedFiles\file1
C:\Gnucash\AssociatedFiles\launderedmoney\file2
C:\Gnucash\AssociatedFiles\fencedgoods\file3

Then in the XML files, the paths would be stored as:

GNUCashAssociatedFiles/file1
GNUCashAssociatedFiles/launderedmoney\file2
GNUCashAssociatedFiles/fencedgoods\file3

Thoughts?

Michael

On Wed, 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