The denote-directory option
The Denote file-naming scheme can be applied to any file anywhere on the file system (Renaming files). Still, Denote needs a dedicated directory to store the files it creates. To this end, the user option denote-directory specifies the directory, as a string, where new files are created (Standard note creation).
The default path is ‘~/Documents/notes/’. If the directory does not exist, Denote will create it upon generating a new note.
The denote-directory is consulted by Denote commands that operate on existing files, such as the linking mechanism and the search mechanism:
In general, any command that needs to operate on existing Denote files is expected to rely on the denote-directory.
The value of denote-directory may also be a list of strings, each pointing to a file system path. This allows users to maintain distinct directories that can still be considered part of the same continuum, as opposed to silos (Maintain separate directory silos for notes). Denote commands will otherwise behave the same way.
Users who choose to set denote-directory to a list of directories may also want to include a directory prompt when creating new files (The denote-prompts option).