Appearance
Files and folders
FreshInspect, create, read, append, prepend, move, rename, and delete files and folders in the vault. Internal links update automatically if enabled in vault settings.
file
Show file info (default: active file).
bash
file=<name> # file name
path=<path> # file pathExample:
path Notes/Recipe.md
name Recipe
extension md
size 1024
created 1700000000000
modified 1700001000000files
List files in the vault.
bash
folder=<path> # filter by folder
ext=<extension> # filter by extension
total # return file countfolder
Show folder info.
bash
path=<path> # (required) folder path
info=files|folders|size # return specific info onlyfolders
List folders in the vault.
bash
folder=<path> # filter by parent folder
total # return folder countopen
Open a file.
bash
file=<name> # file name
path=<path> # file path
newtab # open in new tabcreate
Create or overwrite a file.
bash
name=<name> # file name
path=<path> # file path
content=<text> # initial content
template=<name> # template to use
overwrite # overwrite if file exists
open # open file after creating
newtab # open in new tabread
Read file contents (default: active file).
bash
file=<name> # file name
path=<path> # file pathappend
Append content to a file (default: active file).
bash
file=<name> # file name
path=<path> # file path
content=<text> # (required) content to append
inline # append without newlineprepend
Prepend content after frontmatter (default: active file).
bash
file=<name> # file name
path=<path> # file path
content=<text> # (required) content to prepend
inline # prepend without newlinemove
Move or rename a file (default: active file). This will automatically update internal links if turned on in your vault settings.
bash
file=<name> # file name
path=<path> # file path
to=<path> # (required) destination folder or pathrename
Rename a file (default: active file). The file extension is preserved automatically if omitted from the new name. Use move to rename and move a file at the same time. This will automatically update internal links if turned on in your vault settings.
bash
file=<name> # file name
path=<path> # file path
name=<name> # (required) new file namedelete
Delete a file (default: active file, trash by default).
bash
file=<name> # file name
path=<path> # file path
permanent # skip trash, delete permanentlySee also
- Browse all command groups
- Keyboard shortcuts for the TUI