← Back to team overview

zim-wiki team mailing list archive

export sub-notebook using the command line

 

Hi Jaap and others,

I am trying to export a sub-notebook. This goes fine when using the menu, but now I am not sure how to do this on the command line.

output=Output_folder
template='path_to_template'
notebook='path to notebook'

If docs the note is that I want to export (including the sub-notes of this note), I thought to do something like:

zim --export -r --output=$output --format=html --template=$template $notebook docs

But this doesn't work. Any hints how to go about this?

Best wishes,

Paulo