Limit listing of notes by only note.md files

This commit is contained in:
Konstantin Nazarov 2024-11-27 20:09:02 +00:00
parent 76038af802
commit 1f8d8b6a55
Signed by: knazarov
GPG key ID: 4CFE0A42FA409C22

View file

@ -115,7 +115,7 @@ list_entries() {
}\ }\
" "
grep -r -m 3 -h "^Subject:\|^X-Note-Id:\|^X-Date:" "$BASEDIR" | awk "$FILTER" | sort | cut -d " " -f "2-" grep -r -m 3 -h "^Subject:\|^X-Note-Id:\|^X-Date:" "$BASEDIR" --include="note.md" | awk "$FILTER" | sort | cut -d " " -f "2-"
} }