Get Web-UI complete CLI commands for debugging

I am trying to run the commandline that’s used by the web-ui. My main use is to debug the filters via “C:\ProgramData.duplicacy-web\bin\duplicacy_win_x64_2.6.1.exe -d -log backup -enum-log”.

But obviously there are some things missing, e.g. specification of the correct preferences file, etc. Is there a way to reproduce what the web-ui runs?

You have to cd into one of the empty repository directories before running that command:

cd C:\ProgramData\.duplicacy-web\repositories\localhost\0
..\..\..\duplicacy_win_x64_2.6.1.exe blah

…where 0 is the index (0, 1, 2 etc.) of your repository - the details of which, you can discover with one method, by looking at the .duplicacy\preferences file within. The repository field will tell you which.

Another method is to check the duplicacy.json file, in the "repositories" section, each key "index" is associated with one of the numbered folders:

     "repositories": [
       {
         "index": 0,
                  ^
.duplicacy-web\repositories\localhost\0\..\..
                                      ^
1 Like