maxio icon indicating copy to clipboard operation
maxio copied to clipboard

exportNotebook does not work with notebooks inside a folder

Open Draic opened this issue 3 years ago • 1 comments

I have most of my notebooks inside folders on the remarkable. The tool does not find a notebook, if it is inside a folder. If not inside a folder the tools works fine. Still hope remarkable makes the built-in export work with custom layouts

Draic avatar Mar 25 '21 15:03 Draic

I was running into the same problem since I was using a portion of exportNotebook for another script I'm making. If you want to disable checking for a folder, comment out the following code

# This checks if there is a parent to the document and skips over it if it does
if ! echo "$metadata" | grep -qF "\"parent\": \"$1\""; then
    continue
fi

kalinkochnev avatar Apr 28 '21 21:04 kalinkochnev