Page 1 of 1

Multiple databases

Posted: Sat May 30, 2015 9:26 pm
by elfroggio
Hi,

I'm new to xnVieewMP, on xUbuntu 14.04LTS. Looks very good but...

Can I have 2 databases? Even specifying them through some command line parameters

I have 2 main directories:
  • photos: all the photos that are straight from the camera, including the out of focus, the img_xxxx name...
  • library: all the photos that I keep with structured directories: people, places, events, animals...
Photos: is transient, that's where I check for focus, renames and delete the 'bad' photos... I basically want to use xnView as a browser. I do not need any database feature, no category, no ranking... Just delete and renames.

Library: That's where I keep my 'keepers'. There, I keyword, tag, rate....

Any suggestion on how to do it or what are other people doing?

Thanks

Syv

Re: Multiple databases

Posted: Mon Jun 01, 2015 6:38 pm
by xnview
you can use 2 different xnview.ini with different location of database

Re: Multiple databases

Posted: Mon Jun 01, 2015 8:39 pm
by elfroggio
xnview wrote:you can use 2 different xnview.ini with different location of database

Code: Select all

xnviewmp -ini ~/xn01/xnview.ini

and

xnviewmp -ini ~/xn02/xnview.ini
Thank you very much

Syv

Re: Multiple databases

Posted: Tue Jun 02, 2015 2:25 pm
by elfroggio
xnview wrote:you can use 2 different xnview.ini with different location of database
Tried it and it still points to the same XnView.db. I do not see where in xnview.ini, I can set the the path for the second XnView.db or give it a different name.

Thanks

Syv

Re: Multiple databases

Posted: Tue Jun 02, 2015 7:57 pm
by cday
elfroggio wrote:
xnview wrote:you can use 2 different xnview.ini with different location of database
Tried it and it still points to the same XnView.db. I do not see where in xnview.ini, I can set the the path for the second XnView.db...
Possibly here:

Code: Select all

[DB]
...
basePath=/
...
...I can set the the path for the second XnView.db or give it a different name.
Presumably if the path for the database is a base path, the XnView.db files shouldn't be renamed or they won't be found?

[Edited.]