Returns a list of all files (excluding Markdown notes) in a vault, as file paths, sorted alphabetically.
Parameters
Section titled “Parameters”The vault to work in.
Type: Vault reference
Return Value
Section titled “Return Value”Text (list)
Examples
Section titled “Examples”Most of the time you would use this action to get a list of all your file paths, then loop over the results list using the built-in "Repeat With" block and filter them with whatever you need. The loop variable Repeat Item will contain a single file path.
If you want to filter the list, I recommend using the "Filter List" action from Sindre Sorhus's excellent Actions app (no relation) or a built-in "Repeat With" loop with a contained "If" action.
Related Links
Section titled “Related Links”- Search the Actions for Obsidian community forum for "List All Non-Markdown Files"