自动将前一天的 Obsidian 日记移动到 past-days/ 存档文件夹,使用 Obsidian CLI move 命令保留 wiki 链接。
Automatically moves yesterday's Obsidian daily note into a past-days/ archive folder.
Runs daily (e.g., at 12:05 AM) to move the previous day's note from the vault root into past-days/. Uses obsidian move to preserve wiki-links.
Schedule as an isolated cron job running shortly after midnight:
text
Schedule: 5 0 * * * (daily at 00:05)
Target: isolated
Prompt:
text
Move yesterday's Obsidian daily note into the past-days/ folder.
The note is at the vault root named like 'MM-DD-YYYY DayOfWeek.md'.
Use `obsidian move` so links stay updated.
If it's already in past-days or doesn't exist, skip silently.
obsidian move command)MM-DD-YYYY DayOfWeek.md formatpast-days/ folder in the vault