1

Zim documentation specifies the following arguments for export at https://zim-wiki.org/manual/Help/Commandline_Options.html , but I am trying to find a command line equivalent of selecting a Page: and exporting single page with its subpages in the GUI like so:

enter image description here.

In this screenshot PUBLIC is one of the pages in my notebook, and I can't tell how to specify exporting only that page and its subpages on the command line export after trying various variations of --root-url and --index-page (with semicolon and without).

What I see instead is that every time entire notebook is being exported. The -r argument makes it sound like it's possible, but I can't quite figure out the syntax.

I am using most recent windows installer of ZIM.

DavidPostill
  • 162,382
Joe
  • 715

1 Answers1

0

I am trying to find a command line equivalent of selecting a Page: and exporting single page with its subpages

There is an example in the documentation:

Exporting from the commandline

Try something like:

$ zim --export --output=./html --format=html --template=./foo.html ~/Notes

You can use a similar command, adding the -r option and replacing Notes with the path to PUBLIC.

Source Zim - a desktop wiki

DavidPostill
  • 162,382