software/ebook_reader

dpt-rp1-py

To get PDF uploading to work from Debian with my Quaderno digital reader, I installed the dpt-rp1-py package for just my user (not system wide):

# or, in a venv/pipenv
pip3 install --user dpt-rp1-py

Before running commands, ensure device and laptop are on the same local network. Then, run things like:

dptrp1 list-folders

or, to upload files:

dptrp1 upload thing.pdf Document/Papers/

To upload everything in a directory newer than a given date:

find ~/toread -iname '*.pdf' -type f -newermt "2022-05-01" | parallel -j1 dptrp1 upload {} Document/Papers/

TODO: sometimes this fails for some fraction of the documents? need a delay?