geeknote
geeknote copied to clipboard
Attach a file during create?
I have a similar question as #160. I have a directory of png screenshots. I would like to use geeknote to upload each one to evernote. Is there an example of uploading images or pdfs?
You could use a bash script like this:
for fff in *.png;
do
geeknote create --title "$fff" --resource "$fff" --content "";
done;
This will upload all png files in the directory, creating a separate note for each. The title of the note will be the filename, and there will be no other text in the note.
Thanks @jeffkowalski! When I get a chance I'll submit a pull request for the readme and help text.
That doesn't work for me. I get: geeknote create --title "testtest" --resource "1.png" --content "Hello" Sorry, operation has failed!!!.