Re: [GNC] Is there a way to handle same-named GnuCash files sensibly?

2022-05-05 Thread Adrien Monteleone
XCIF is your friend! You can back-date the meta for those images and scans with something like `exiftool`. No definitive word of if it runs on Linux, but it does on MacOS and other Unix systems. Otherwise there is a web implementation: https://exif.tools Regards, Adrien On 5/5/22 11:39 AM,

Re: [GNC] Is there a way to handle same-named GnuCash files sensibly?

2022-05-05 Thread David T. via gnucash-user
If it's typing characters that has you bothered, rename "building.gnucash" "bldg.xgc", and associate xgc with GnuCash in your OS (xgc appears to only be used by one gaming platform). You'll save hundreds of keystrokes... On May 5, 2022 4:09:17 AM EDT, Chris Green wrote: >On Wed, May 04,

Re: [GNC] Is there a way to handle same-named GnuCash files sensibly?

2022-05-05 Thread Chris Green
On Thu, May 05, 2022 at 10:25:08AM -0400, Michael or Penny Novack wrote: > > So yes, I look at dates in file names as a very good thing. If like me you > had lived through that "hell week" trying to get caught back up you would > too. > I agree to an extent, it's just that the 'date as part of

Re: [GNC] Is there a way to handle same-named GnuCash files sensibly?

2022-05-05 Thread Michael or Penny Novack
Yes, except that it does make for rather long filenames. I'd really be happiest if my GnuCash 'building' bank account data file was simply called 'building'. It's in a directory called ~/pcc/2022 which tells me that it's Parochial Parish Council data for 2022. It is probably because of my

Re: [GNC] Is there a way to handle same-named GnuCash files sensibly?

2022-05-05 Thread Geert Janssens
Chris, I have decided to simply do the test. As an intro, the files in ~/.local/share/books are called metadata files. They store (among others) which windows and tabs you had open the last time you used a file, column widths in various tabs, filters in registers and so on. They don't

Re: [GNC] Is there a way to handle same-named GnuCash files sensibly?

2022-05-05 Thread Chris Green
On Wed, May 04, 2022 at 07:18:32PM -0400, Michael or Penny Novack wrote: > > > Yes, I noticed too that there a files with a number added to the base > > name, e.g.:- > > > > building.gnucash.gcm > > building.gnucash_2.gcm > > > > ... but I'm not sure that it's a perfect system. > > >

Re: [GNC] Is there a way to handle same-named GnuCash files sensibly?

2022-05-04 Thread Michael or Penny Novack
Yes, I noticed too that there a files with a number added to the base name, e.g.:- building.gnucash.gcm building.gnucash_2.gcm ... but I'm not sure that it's a perfect system. I have reverted to having the year as part of the file name and a wrapper script that finds the data file

Re: [GNC] Is there a way to handle same-named GnuCash files sensibly?

2022-05-04 Thread Derek Atkins
Back in antiquity, GnuCash would encode the full path of the data file into the metadata file, but that meant that if you moved the data file in any way, GnuCash would lose track of the metadata belonging to it... -derek On Wed, May 4, 2022 4:02 pm, Chris Green wrote: > On Wed, May 04, 2022 at

Re: [GNC] Is there a way to handle same-named GnuCash files sensibly?

2022-05-04 Thread Chris Green
On Wed, May 04, 2022 at 09:26:51PM +0200, Geert Janssens wrote: > Op dinsdag 3 mei 2022 18:37:20 CEST schreef Chris Green: > > GnuCash names files in ~/.local/share/gnucash/books according to the > > filename of the GnuCash data file. This is a bit of a problem for me > > because I expect to be

Re: [GNC] Is there a way to handle same-named GnuCash files sensibly?

2022-05-04 Thread Geert Janssens
Op dinsdag 3 mei 2022 18:37:20 CEST schreef Chris Green: > GnuCash names files in ~/.local/share/gnucash/books according to the > filename of the GnuCash data file. This is a bit of a problem for me > because I expect to be able to have multiple GnuCash data files with > the same name in

Re: [GNC] Is there a way to handle same-named GnuCash files sensibly?

2022-05-03 Thread Chris Green
... and further, reading the following:- https://wiki.gnucash.org/wiki/Configuration_Locations Has shown me several ways to achieve what I want, the man page for GnuCash doesn't mention the many, useful, environment variables that are documented in the above. I think I can stop being so

Re: [GNC] Is there a way to handle same-named GnuCash files sensibly?

2022-05-03 Thread Chris Green
> > There are further sub-directories to sum of these. It makes it very easy for > me sum = 'some' :-) -- Chris Green ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe:

Re: [GNC] Is there a way to handle same-named GnuCash files sensibly?

2022-05-03 Thread Chris Green
On Tue, May 03, 2022 at 12:01:47PM -0500, Adrien Monteleone wrote: > So you've chosen an organization method that creates the problem but then > ask for how to avoid it? The answer seems pretty obvious to me: > It's the organisation that I use for just about everything else and it's the way many

Re: [GNC] Is there a way to handle same-named GnuCash files sensibly?

2022-05-03 Thread Adrien Monteleone
So you've chosen an organization method that creates the problem but then ask for how to avoid it? The answer seems pretty obvious to me: Don't start a new file each year. But before that, to your original question, what files exactly in ~/.local/... are you concerned about? One rarely needs

[GNC] Is there a way to handle same-named GnuCash files sensibly?

2022-05-03 Thread Chris Green
GnuCash names files in ~/.local/share/gnucash/books according to the filename of the GnuCash data file. This is a bit of a problem for me because I expect to be able to have multiple GnuCash data files with the same name in different places. For example I keep church building accounts in a file