# Is there a way to export notebook by id?

**URL:** <https://discourse.joplinapp.org/t/is-there-a-way-to-export-notebook-by-id/11324>\
**Category:** Support\
**Created:** [28 September 2020 12:06 UTC](https://discourse.joplinapp.org/t/is-there-a-way-to-export-notebook-by-id/11324 "2020-09-28T12:06:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![roschzao](https://avatars.discourse-cdn.com/v4/letter/r/e99b99/32.png) [@roschzao](https://discourse.joplinapp.org/u/roschzao)\
**Post date:** [28 September 2020 12:06 UTC](https://discourse.joplinapp.org/t/is-there-a-way-to-export-notebook-by-id/11324/1 "2020-09-28T12:06:34Z")

</div>

I found under explanation, by failed to export.

```auto
export <path>

    Exports Joplin data to the given path. By default, it will export the 
    complete database including notebooks, notes, tags and resources.

    --format <format> Destination format: jex (Joplin Export File), raw 
                           (Joplin Export Directory), json (Json Export 
                           Directory), md (Markdown), html (HTML File), html 
                           (HTML Directory)
    --note <note> Exports only the given note.
    --notebook <notebook> Exports only the given notebook.

```

The command I used is:

```auto
joplin export TEMP --format md --notebook id

```

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![laurent](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@laurent](https://discourse.joplinapp.org/u/laurent)\
**Post date:** [28 September 2020 13:04 UTC](https://discourse.joplinapp.org/t/is-there-a-way-to-export-notebook-by-id/11324/2 "2020-09-28T13:04:45Z")

</div>

What's the error?

---

<div class="post-metadata">

**Author:** ![roschzao](https://avatars.discourse-cdn.com/v4/letter/r/e99b99/32.png) [@roschzao](https://discourse.joplinapp.org/u/roschzao)\
**Post date:** [12 October 2020 12:22 UTC](https://discourse.joplinapp.org/t/is-there-a-way-to-export-notebook-by-id/11324/3 "2020-10-12T12:22:31Z")

</div>

Hi @laurent I'm now using joplin version 1.2.6.

When I using 1.1.4 joplin termianl not work which has been fixed by [https://github.com/laurent22/joplin/issues/3783](https://github.com/laurent22/joplin/issues/3783)

For now, command `joplin export TEMP --format md --notebook notebook_id` only returns:

`can't find notebook_id`

* * *

All my notes are created by joplin GUI. But for some reason I don't know a notebook can't show in GUI, but still there in disk.

So I tried to use terminal joplin export it.

Could terminal joplin access notes created by GUI?

---

<div class="post-metadata">

**Author:** ![roschzao](https://avatars.discourse-cdn.com/v4/letter/r/e99b99/32.png) [@roschzao](https://discourse.joplinapp.org/u/roschzao)\
**Post date:** [12 October 2020 13:02 UTC](https://discourse.joplinapp.org/t/is-there-a-way-to-export-notebook-by-id/11324/4 "2020-10-12T13:02:14Z")

</div>

I find ways to let GUI share notes to terminal: `joplin export --profile ~/.config/joplin-desktop ~/TTTT --notebook fa74fb3afbec4ae0a3d5344725ab0f50 --format md`.

But still get can't find `fa74fb3afbec4ae0a3d5344725ab0f50`.
