Vinzent03 / find-unlinked-files

Find files, which are nowhere linked, so they are maybe lost in your vault.
MIT License
293 stars 14 forks source link

Don't include sibling files that have a filename starting with the directory name #24

Closed Vuenc closed 2 years ago

Vuenc commented 2 years ago

I have a directory called "References" and an (unlinked) file called "References.md" on the same level as the directory. When I execute "find unlinked files" on the directory, the output includes "References.md" despite the file not being under the directoy.

The same problem occurs when the directory is e.g. just called "Ref". Also if I have a directory called "Ref" and a sibling directory called "References", searching for unlinked files in "Ref" also includes unlinked files in "References".

Vinzent03 commented 2 years ago

Should be fixed in the new version.

Vuenc commented 2 years ago

Thanks a lot :)