<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hello,<br>
<br>
Sorry to interfere here, but I am new to digiKam and I'd like to
understand. Unfortunately, the digiKam documentation does not seem
to mention command line options.<br>
<br>
So Gilles, are you saying that Shel should start digiKam with
something like <br>
<blockquote><font style="font-family:monospace;color:rgb(0,0,0)"
face="monospace">digikam.exe --config
C:\Users\<user>\Documents\new_digiKam_config.cfg </font><span
style="font-family:monospace">--database-directory </span><font
style="font-family:monospace;color:rgb(0,0,0)"
face="monospace">C:\Users\<user>\Documents\new_digiKam_db.sqlite</font></blockquote>
<font style="font-family:monospace;color:rgb(0,0,0)"
face="monospace">and that digiKam will create a new config file
and a new database ?<br>
<br>
Other question: did starting digiKam as Shel did break anything
?<br>
</font><br>
Le 08/04/2022 à 08:57, Gilles Caulier a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CAHFG6sGAq4b7_OkDGkrNjvsFHoXnLzE3Qfo1Sve8vpYhEjoVDw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div><br>
</div>
<div dir="auto">Not at all. Yolov config file is for face
recognition…</div>
<div dir="auto"><br>
</div>
<div dir="auto">The digiKam config file is named digikamrc </div>
<div dir="auto"><br>
</div>
<div dir="auto">Gilles Caulier <br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Le ven. 8 avr. 2022 à 08:41,
Shel Ritter <<a href="mailto:shelritterbmw@yahoo.com"
moz-do-not-send="true" class="moz-txt-link-freetext">shelritterbmw@yahoo.com</a>>
a écrit :<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">
<div>
<div>Thanks for the input Gilles. Looking into the
\AppData configuration folder, it seemed like the config
file would have been: yolov3-face.cfg <br>
<br>
<font style="font-family:monospace;color:rgb(0,0,0)"
face="monospace"> Volume in drive C:<br>
<br>
Directory of
C:\Users\<user>\AppData\Roaming\digikam\facesengine<br>
<br>
10:34 PM <DIR> .<br>
10:34 PM <DIR> ..<br>
08:16 PM 28,092 deploy.prototxt<br>
10:34 PM 0 dir.txt<br>
08:16 PM 31,510,785 openface_nn4.small2.v1.t7<br>
08:16 PM 5,351,047
res10_300x300_ssd_iter_140000_fp16.caffemodel<br>
08:16 PM 67,740,572 shapepredictor.dat<br>
08:16 PM 8,334 yolov3-face.cfg<br>
08:26 PM 246,305,388 yolov3-wider_16000.weights<br>
7 File(s) 350,944,218 bytes</font><br>
<br>
So I ran this, expecting to see my current installation
boot:<br>
<br>
<font style="font-family:monospace;color:rgb(0,0,0)"
face="monospace">digikam.exe --config
C:\Users\<user>\AppData\Roaming\digikam\facesengine\yolov3-face.cfg</font><br>
<br>
Instead DigiKam opened as if it was opening for the 1st
time. It just wasn't recognizing yolov3-face.cfg as a
valid config file, and opened as a fresh installation no
matter what file I pointed it to. That initial window
that pops up refers to, "The new location for
configuration files is ~/Local Settings/ ~(old
AppData/Local/). But the only Digikam files there are 2
simple text files in the root AppData/Local/ folder,
digikam_systemrc 45 KB and digikamrc 88KB that the
--config command ignores.<br>
<br>
I can't see any other locations where a valid config
file might be. And if the --help output for
--database-directory <dir> is referring to a
folder that should literally be named dir somewhere, I
couldn't find it.<br>
<br>
Admittedly I'm not great at the technical end of things.
😉</div>
</div>
<div>
<div><br>
<br>
On 4/7/2022 10:07 PM, Gilles Caulier wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>Hi,</div>
<div><br>
</div>
<div>the digiKam binary has few option from command
line to switch to a specific configuration file.
Under Linux it's easy to do :</div>
<div><br>
</div>
<div><span style="font-family:monospace"><span
style="font-family:monospace;background-color:rgb(255,255,255);color:rgb(0,0,0)">[gilles@localhost
8.x]$ digikam --help </span><br>
Usage: digikam [options] <br>
Professional Photo Management with the Power of
Open Source - A KDE Family Project <br>
<br>
Options: <br>
-h, --help Displays help on
commandline options. <br>
--help-all Displays help
including Qt specific options. <br>
-v, --version Displays version
information. <br>
--author Show author
information. <br>
--license Show license
information. <br>
--desktopfile <file name> The base file
name of the desktop entry for this <br>
application. <br>
--download-from <path> Open camera
dialog at "path" <br>
--download-from-udi <udi> Open camera
dialog for the device with Solid UDI <br>
"udi" <br>
--detect-camera Automatically detect
and open a connected gphoto2 <br>
camera <br>
--database-directory <dir> Start digikam
with the SQLite database file found <br>
in the directory
"dir" <br>
--config <config> Start digikam
with the configuration file <br>
"config" <br>
[gilles@localhost 8.x]$ <br>
</span></div>
<div><span style="font-family:monospace"><br>
</span></div>
<div><span style="font-family:monospace">The option "<span
style="font-family:monospace">--config
<config>" is the right one for your use
case. Look also "<span
style="font-family:monospace">--database-directory
<dir>".</span></span></span></div>
<div><span style="font-family:monospace"><span
style="font-family:monospace"><span
style="font-family:monospace"><br>
</span></span></span></div>
<div><span style="font-family:monospace"><span
style="font-family:monospace"><span
style="font-family:monospace">These options
are also available under Windows of course.
Just call digikam.exe from a simple Windows
batch script must do the stuff.</span></span></span></div>
<div><span style="font-family:monospace"><span
style="font-family:monospace"><span
style="font-family:monospace"><br>
</span></span></span></div>
<div><span style="font-family:monospace"><span
style="font-family:monospace"><span
style="font-family:monospace">Best</span></span></span></div>
<div><span style="font-family:monospace"><span
style="font-family:monospace"><span
style="font-family:monospace"><br>
</span></span></span></div>
<div><span style="font-family:monospace"><span
style="font-family:monospace"><span
style="font-family:monospace">Gilles Caulier<br>
</span></span></span></div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Le ven. 8 avr. 2022
à 05:18, Shel Ritter <<a
href="mailto:shelritterbmw@yahoo.com"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">shelritterbmw@yahoo.com</a>>
a écrit :<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px
0px
0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">
<div> I've had a copy of Digikam installed and
working well on my Windows 7 PC for some time now.
Recently I find myself wanting a separate copy of
Digikam to incorporate an completely different
library of photos. Is that possible? <br>
<br>
I was wondering if that mcould be done by making a
copy of the \<user>\AppData\Roaming\digikam
folder, and uninstalling the program, deleting (or
just moving) the original data folder,
reinstalling it, and importing a different folder
& sub-folders from a different file library.
Then just switch the 2 \AppData\ folders when I
want to switch between libraries. I'm guessing
things probably aren't that simple. Is the any
chance there's a more sophisticated method if
possible at all?<br>
<br>
I'm also wondering if there's any way to have
DigiKam use the existing files in the new library
instead of copying them all to a separate
location. My libraries are pretty large.<br>
<br>
Thanks for any feedback folks.<br>
Shel</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Frédéric Da Vitoria</pre>
</body>
</html>