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

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):

    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 . -iname '*.pdf' -type f -newermt "2022-05-01" | parallel dptrp1 upload {} Document/Papers/

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