<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">So where do I get a 2nd config file
      Gilles? Do I just make a copy of the existing digikamrc file, and
      then edit it and change the 4 local folder paths I see there to a
      new location?  <br>
      <br>
      This is what's in my current digikamrc:<br>
      <font face="monospace">Database Name=<DriveLetter>:/DigiKam/<br>
        Database Name Face=</font><font face="monospace"><font
          face="monospace"><font face="monospace"><DriveLetter></font></font>:/DigiKam/<br>
        Database Name Similarity=</font><font face="monospace"><font
          face="monospace"><DriveLetter></font>:/DigiKam/<br>
        Database Name Thumbnails=</font><font face="monospace"><font
          face="monospace"><DriveLetter></font>:/DigiKam/</font><br>
      <br>
      Can I just make a copy named digikamrc2 and set:<br>
      <font face="monospace">Database
        Name=<DriveLetter>:/2ndConfig/DigiKam/<br>
        Database Name Face=</font><font face="monospace"><font
          face="monospace"><font face="monospace"><DriveLetter></font></font>:</font><font
        face="monospace"><font face="monospace">/2ndConfig/</font>/DigiKam/<br>
        Database Name Similarity=</font><font face="monospace"><font
          face="monospace"><DriveLetter></font>:</font><font
        face="monospace"><font face="monospace">/2ndConfig/</font>/DigiKam/<br>
        Database Name Thumbnails=</font><font face="monospace"><font
          face="monospace"><DriveLetter></font>:</font><font
        face="monospace"><font face="monospace">/2ndConfig/</font>/DigiKam/</font><br>
      <br>
      And if that's all it takes, and I set the new path to a folder on
      the system where the 2nd library files reside, will that avoid
      having to copy a whole set of duplicates to a new location as was
      the case for my current library?<br>
      <br>
      Thanks for your help on this Gilles.<br>
      Shel<br>
      <br>
      On 4/12/2022 8:29 PM, Gilles Caulier wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAHFG6sE0doO6oGcH1WmgXiCyfvYpfcDdTprjXgczoTUWDZdfbQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>Hi,</div>
        <div><br>
        </div>
        <div>You don't need to install 2 versions of digiKam binary at
          different places.</div>
        <div><br>
        </div>
        <div>You will run the same binary but with 2 different config
          files passed at startup. Use the right option from digikam.exe
          command line for that. Create a desktop icon with right
          properties to point of digikam.exe and use the right CLI
          options.</div>
        <div><br>
        </div>
        <div>At end you must to have 2 digiKam desktop icons pointing on
          2 different config files</div>
        <div><br>
        </div>
        <div>Best</div>
        <div><br>
        </div>
        <div>Gilles Caulier<br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">Le mer. 13 avr. 2022 à 01:09,
          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:1px solid rgb(204,204,204);padding-left:1ex">
          <div>
            <div>Thanks again to Gilles for pointing me to the correct
              DigiKam config file, digikamrc in hopes to set up a batch
              file for switching between to separate instances of
              DigiKam in Windows. But I'm still stuck at trying to
              figure out how to create that 2nd DigiKam installation in
              Windows to enable switching between the two. I could rind
              the installer again and select a different folder for the
              installation, but I'm afraid in the process Windows will
              overwrite crucial files critical to the 1st installation.
              Thanks for any thoughts on this.<br>
              Shel<br>
              <br>
              On 4/8/2022 12:33 AM, Frédéric Da Vitoria wrote:<br>
            </div>
            <blockquote type="cite">
              <div>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">
                <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"
                        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:1px solid
                      rgb(204,204,204);padding-left:1ex">
                      <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:1px solid
                              rgb(204,204,204);padding-left:1ex">
                              <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 cols="72">-- 
Frédéric Da Vitoria</pre>
            </blockquote>
            <br>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <br>
  <div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br />
<table style="border-top: 1px solid #D3D4DE;">
        <tr>
        <td style="width: 55px; padding-top: 13px;"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;" /></a></td>
                <td style="width: 470px; padding-top: 12px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Virus-free. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link" target="_blank" style="color: #4453ea;">www.avast.com</a>
                </td>
        </tr>
</table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>