Fuzzy Find Helper
Search filenames interactively with fzf when available, falling back to find.
$ webtoolist --script timestamped-notes
Append a timestamped note to a daily Markdown file without leaving the shell.
notesmarkdownjournalproductivityDependencies: date
#!/usr/bin/env bash
set -euo pipefail
notes_dir="${NOTES_DIR:-$HOME/notes}"
mkdir -p "$notes_dir"
file="$notes_dir/$(date +%F).md"
(($# > 0)) || { echo "usage: $0 NOTE TEXT" >&2; exit 1; }
if [[ ! -f "$file" ]]; then
printf '# %s\n\n' "$(date +%F)" > "$file"
fi
printf -- '- %s — %s\n' "$(date +%H:%M)" "$*" >> "$file"
echo "noted in $file"
./timestamped-notes Reviewed the migration plan
NOTES_DIR=~/work/notes ./timestamped-notes Follow up with Alice
Related scripts
Search filenames interactively with fzf when available, falling back to find.