summaryrefslogtreecommitdiffstats
path: root/software/ebook_reader.page
blob: 74f1612c3e60106e76d6d8bc757d228c27c4e067 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

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?