find-unlinked-files icon indicating copy to clipboard operation
find-unlinked-files copied to clipboard

option to scan the current file or a specific folder?

Open zeltak opened this issue 3 years ago • 5 comments

Hi and thank you for this fantastic plugin!

I wonder if its possible to add a feature request to add a command to scan the current file or a specific folder (as opposed to all vault?)

this would make managing specific missing files easier and safer (when you have hundreds of orphan files)

thx so much for you amazing work

Z

zeltak avatar Nov 06 '22 05:11 zeltak

There a context menu action when right clicking a folder in the file view. In addition you should be able to customize the directory allow list in the settings.

Vinzent03 avatar Nov 08 '22 11:11 Vinzent03

thanks so much for you kind response. I know one can right click a folder yet sometimes I have need to quick run it on a specific file/buffer.

I understand this maybe a niche case so understand if the FR is rejected :D

thanks for your consideration and all your amazing work on obsidian

Z

zeltak avatar Nov 08 '22 12:11 zeltak

How should finding orphan files work on a single file?

Vinzent03 avatar Nov 08 '22 22:11 Vinzent03

thx again!

well you would run the command and it would look at all the links (for images, pdfs etc) in the current file and if the file is missing it would inform/delete the link. Does that make sense?

for a working example I have file for lets say QNAP network documentation. I have 50 links to image examples. if 3 links are broken/orphans it will only delete the links in the QNAP file

thanks so much again

Z

zeltak avatar Nov 09 '22 06:11 zeltak

Oh, you are talking about broken links and not about orphaned files. I'll think about it.

Vinzent03 avatar Nov 11 '22 11:11 Vinzent03