View Single Post
Old 01-21-2018, 04:51 AM   #1
Divingduck
Wizard
Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.
 
Posts: 1,166
Karma: 1410083
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
calibredb --password <pwfile>

Hi Kovid,

it seems I forgot something. Can you give me a hint?

I can do the following CLI command:

calibredb list --with-library "http://didel-dum:12345/" --fields=authors,title,*cod_y --username TestUser --password TestPw --for-machine>_y.txt

with this options I became the info forbidden or the username/password combination is incorrect:

calibredb list --with-library "http://didel-dum:12345/" --fields=authors,title,*cod_y --username TestUser --password stdin --for-machine>_y.txt

Same for the combination password file.
calibredb list --with-library "http://didel-dum:12345/" --fields=authors,title,*cod_y --username TestUser --password dideldum.txt --for-machine>_y.txt


I thought, this had work when I test it long time ago but now it seems I'm not able to get this running again with a password file.

Additional question, if I remember correct, I didn't need the switch --username if I use a file but maybe I am wrong. In the past I used a text file like dideldum.txt with a single line including username and password with a space between: TestUser TestPw.

I am a bit lost on this, as it seems that no combination will do what I like to do except the first version as command line with direct input.


System Windows10-64Bit actual version
calibre 3.1.5.0 64Bit
Divingduck is offline   Reply With Quote