Group notes in sub-directories by year and month
All checks were successful
/ check (push) Successful in 1m34s

This commit is contained in:
Oliver Davies 2025-07-16 00:57:10 +01:00
parent 2870a256da
commit 21e54a64ce

View file

@ -8,7 +8,7 @@ pkgs.writeShellApplication {
];
text = ''
folder="''${ZET_DIR:-"$XDG_DOCUMENTS_DIR/wiki/zet"}"
folder="''${ZET_DIR:-"$XDG_DOCUMENTS_DIR/wiki/zet"}/$(date +%Y)/$(date +%m)"
mkdir -p "$folder"