Script to import md files (with first line as title)

Import markdown files to Joplin with first line as title.

Usage: <path_to_md_files> [--is_todo] (-h | --help) --version

  -h --help     Show this screen.
  --version     Show version.
  --is_todo     Are markdown files todos or not.

Thanks for sharing!

1 Like

How is this really different from the cli import function? What is your specific use case for the script?

Instead of using the file name as title, my script use the first line of md files as title. I wrote it for myself because i had 10k+ md files with the format of and in every file the title was in the first line of every file.

sorry for the late request, but is there a way to have a default tag added to the note also?