Open nickchomey opened 5 months ago
Try the latest version
If I set "Attachments" as the attachment folder and don't use the subfolders, when I rename/delete any file, it will delete all empty folders in the main folder. My plugin setting is as follows:
And it's the problem:
when I delete "test.md" file, it deletes all the empty folders and becomes like this:
@sans-125 Tks for your report, it's fixed in latest version.
When a note is moved, the attachments are automatically renamed/moved to the new file path. This leaves the folders of the old filepath empty - and continually growing.
Would it be possible to recursively check if the attachment's folder (and parent folders) are empty and, if so, delete them?