This is a script to grab a PDF file from any cloud path available to rclone
and make it available on the reMarkable tablet.
This script depends on
- rclone being installed and set up on the device
uuidgen
being available, which can be installed via remarkable_entware
Install the dependencies mentioned above.
Copy grab_pdf.sh
to your reMarkable device via SSH (I just put it in the root home folder),
open an SSH session on the device and make the script executable with chmod +x grab_pdf.sh
.
./grab_pdf.sh <rclone source path> [<visible name>]
Where <visible name>
is optional and can be used to set the name that will be visible in the document list.
If this option is not set, the visible name is simply set to the filename of the source path.
An example:
./grab_pdf.sh dropbox:/uni/differential-equations.pdf "Differential Equations"
(depends on dropbox
being a defined remote of rclone
.)