JackGruber / joplin-plugin-hotfolder

A plugin to Monitor a locale folder and import the files as a new note.
46 stars 4 forks source link

When Does the Hotfolder Execute #5

Closed kendoori closed 3 years ago

kendoori commented 3 years ago

I am intending on using this with Google Drive and PDFs. I have a script that downloads from Google Drive to a local folder and specified that as the hot folder. I have placed a test PDF in the Google side and can verify that has been transmitted to the local older I've specified as the hot folder. So far, that PDF has yet to show up as a note. How do I troubleshoot?

JackGruber commented 3 years ago

The import is triggerd by file events. Witch OS do you use? Is a hotfolder outside of Google Drive workin? How big are the PDF?

kendoori commented 3 years ago

ksnip_20210203-151735

JackGruber commented 3 years ago

Hm, I think the dot in the path name is the problem. I look at this during the next days more closely.

kendoori commented 3 years ago

That fixed it.

On Wed, Feb 3, 2021 at 3:48 PM JackGruber notifications@github.com wrote:

Hm, I think the dot in the path name is the problem.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JackGruber/joplin-plugin-hotfolder/issues/5#issuecomment-772812722, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASVQPB44DGAKFQ7HY6PN63S5GZCXANCNFSM4XBORTBA .

JackGruber commented 3 years ago

Because the folder starts with a dot, it is assumed to be a file. I excluded files that start with a dot to prevent the import of .ds_store an other files like this. But since files can now be excluded in the GUI, I removed the hard coded exclude for all dot files.