joplin ls should do that. Use joplin use before that to select the notebook.

1 Like