Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

option to scan the current file or a specific folder? #35

Open
zeltak opened this issue Nov 6, 2022 · 5 comments
Open

option to scan the current file or a specific folder? #35

zeltak opened this issue Nov 6, 2022 · 5 comments

Comments

@zeltak
Copy link

zeltak commented Nov 6, 2022

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

@Vinzent03
Copy link
Owner

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.

@zeltak
Copy link
Author

zeltak commented Nov 8, 2022

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

@Vinzent03
Copy link
Owner

How should finding orphan files work on a single file?

@zeltak
Copy link
Author

zeltak commented Nov 9, 2022

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

@Vinzent03
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants