PSF: Retrospective metadata injection complete. Kernel future-proofed with CREATED/EDITED drawer logic.

This commit is contained in:
2026-04-07 14:14:56 -04:00
parent c553ddc20f
commit 314107cf69
104 changed files with 803 additions and 1 deletions

10
system/extract-git-dates.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
NOTES_DIR="notes"
for f in $NOTES_DIR/*.org; do
CREATED=$(git log --diff-filter=A --format=%aI -- "$f" | tail -1)
EDITED=$(git log -1 --format=%aI -- "$f")
# If not in git, use file mtime
[ -z "$CREATED" ] && CREATED=$(date -Iseconds -r "$f")
[ -z "$EDITED" ] && EDITED=$(date -Iseconds -r "$f")
echo "$f|$CREATED|$EDITED"
done