Is it possible to provide a flag to the “dnote add” command, such as "dnote add -f programming.md’ to import existing notes into the dnote system?
You could try something like:
dnote add yourBook -c "$(cat programming.md)"
The above command will import the content of the file
programming.md into the dnote book named
If you have many such files to import, you could try to loop through all files:
files=$(find ./yourDirectory) for file in $files; do dnote add yourBook -c "$(cat $fiile)" done
Thanks. This did the trick.