Seb-sti1 / rmtree

Convert the file tree from the reMarkable tablet to PDFs
MIT License
1 stars 0 forks source link

rmtree

A command line tool to convert the files in /home/root/.local/share/remarkable/xochitl/ of the reMarkable 2 to PDFs.

It is only compatible with .rm version 6 and .content version 1 and 2 ("formatVersion": 2 or "formatVersion": 1).

It uses rmc (which depends on rmscene) to render the remarkable files to svg, converts them to pdf and then merges them together with, if necessary, the background pdf. Currently, Seb-sti1/rmc is used because it uses rmscene v0.5.0 instead of v0.2.0

Please before submitting an issue check the Known issues section and the already existing issues.

How to use?

After installing the package in the python environment, it is intended to be used with the following commands:

# replace [ip] by the ip of the remarkable. 
rsync -r --delete --progress root@[ip]:/home/root/.local/share/remarkable/xochitl/ rm_folder/
python -m rmtree ./rm_folder ./exported_file_destination

How to check compatibility and update my files to v6?

Hopefully soon

Known issues

Contributions

All contributions are welcomed :).