dotfiles/.scripts/mail.sh

4 lines
84 B
Bash
Executable File

#!/bin/sh
NEWEMAILS=$(ls $HOME/mail/**/archive/new | wc -l)
echo "Mail: $NEWEMAILS"