scambier / obsidian-text-extractor

A (companion) plugin to facilitate the extraction of text from images (OCR) and PDFs.
GNU General Public License v3.0
346 stars 19 forks source link

[BUG] Extractor creates invalid file name on Windows which ended with a dot '.' #15

Closed ccll closed 1 year ago

ccll commented 1 year ago

Problem description: Installed omni-search and text-extractor to index my vault, and there is a folder named '0.' was created at .obsidian/plugins/text-extract/cache/0., the file name is illegal on Windows and I can't do nothing with the folder, neither rename nor delete.

image

Try to delete the folder, Windows thinks the folder is not there: image

My vault is synced with Nextcloud between my devices, and Nextcloud gives a more detailed explanation than Windows itself and ask me to rename the folder: image

And the rename fail with "source file does not exists": image

Your environment: Windows 10