Vinzent218k downloadsFind files that are not linked anywhere and would otherwise be lost in your vault. In other words: files with no backlinks.
A Plugin for Obsidian
This plugin goes through your whole vault and searches for files, which are linked nowhere. In other words: Files with no backlinks.
In the end, it will create a file with a list of links to these orphaned files. Now you can either delete these unused files or link them somewhere in your vault.
Creates a file with a list of links, which linked file has not been created yet.
In addition, there is a command to create those linked files.
Creates a file with a list of empty files. Files with just frontmatter are considered empty as well.
Creates a file with a list of empty folders. Use the Delete empty folders command to move the listed folders to the system trash after confirmation. Folders that are no longer empty are left untouched.
Note that hidden files and folders (starting with a dot) are ignored. So folders containing only hidden files are considered empty as well.
Call the command Find orphaned files and the file Find orphaned files plugin output.md will be created in your vault root and opened in a new pane.
Goes through every link in the output file. If the extension of the link is in the corresponding delete or archive filetype list (can be set in settings), it moves the file to system trash or to the configured archive directory. This is useful to clean up many unused media files while still allowing you to preserve them in an archive folder.
The archive command requires the configured archive directory to already exist and preserves the original path inside it.
Please note that the setting "Disable working links" needs to be disabled.
manifest.json and main.js to <vault>/.obsidian/plugins/find-unlinked-filesFind orphaned files and broken linksIf you find this plugin useful and would like to support its development, you can support me on Ko-fi.