vault backup: 2026-04-16 12:13:50

This commit is contained in:
Jan Meyer
2026-04-16 12:13:50 +02:00
parent b51f305a53
commit 944dc67916
6 changed files with 41 additions and 12 deletions

View File

@@ -0,0 +1,20 @@
<div style="width: 100%; font-size: 10pt; font-family: sans-serif; line-height: 1.4;">
<div><% tp.date.now("YYYY-MM-DD") %></div>
<div>Jan Meyer</div>
<div>664237</div>
</div>
<%*
const folderPath = "11 Homework/Mathe II";
const folder = app.vault.getAbstractFileByPath(folderPath);
let fileCount = 0;
if (folder && folder.children) {
fileCount = folder.children.length;
}
const newFileName = `Homework ${String(fileCount).padStart(2, '0')}`;
await tp.file.move(`${folderPath}/${newFileName}`);
%>