tannercollin / standardnotes-fs

Mount your Standard Notes as a filesystem.
GNU General Public License v3.0
148 stars 12 forks source link

Exporting Notes from Tag Structure #29

Closed joshcsullivan closed 4 years ago

joshcsullivan commented 4 years ago

I'm not sure if I'm understanding the point of the tags folders when mounted.

I was hoping to be able to export notes from a specific tag to an outside directory, but am not finding an easy way to do this, is it possible?

I can use the tree command to see the structure, so it appears there is a way to display notes in their respective tag, but getting the notes out is alluding me.

Any help would be appreciated.

Cheers, Josh

tannercollin commented 4 years ago

Can you copy the notes? For example:

cp -r ~/notes/tags/work ~/destination/

joshcsullivan commented 4 years ago

That worked.

For some reason, when I connected earlier, the tags folders were empty. When I just connected again, it worked correctly, except for one folder. The folder name is !Inbox, would the ! cause and issue for it to connect locally?

tannercollin commented 4 years ago

That could be the reason. In theory only / in a tag name should cause problems though.

If you are curious you could run standardnotes-fs with the -vv flag (very verbose). Then remove any sensitive information and upload the log to txt.t0.vc.