[GNC] - File Path for associated files

Fross, Michael michael at fross.org
Wed Sep 12 11:10:40 EDT 2018


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 AM, Geert Janssens <geert.gnucash at kobaltwit.be>
wrote:

> 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 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?
> >
> It's there already (though perhaps only in 3.x):
> Preferences->General->Path Head for Transaction Association Files
>
> I have no idea if changing this would do anything with absolute path names
> already in the book. And I would doubt very much I would be able to do
> something with Windows paths on a linux system. But for future
> associations
> this should help.
>
> Geert
>
>
>


More information about the gnucash-user mailing list