vault backup: 2026-08-07 16:17:51
This commit is contained in:
@@ -1,3 +1,14 @@
|
||||
<%*
|
||||
const year = tp.date.now("YYYY");
|
||||
const date = tp.date.now("YYYY-MM-DD");
|
||||
const baseFolder = "20 Work/Decisions";
|
||||
const yearFolder = `${baseFolder}/${year}`;
|
||||
if (!app.vault.getAbstractFileByPath(yearFolder)) {
|
||||
await app.vault.createFolder(yearFolder);
|
||||
}
|
||||
await tp.file.move(`${yearFolder}/${date}`);
|
||||
|
||||
-%>
|
||||
# {{title}}
|
||||
|
||||
- 🟡 **Proposed** — Decision is being considered; not final yet.
|
||||
|
||||
Reference in New Issue
Block a user