Commit 72ae8997 authored by Nico Schottelius's avatar Nico Schottelius

Suche neue maildirs, template

parent f36135ec
# Nico Schottelius <nico-linux //@//>
# Date: 06-Jun-2007
# Last Modified: -
# Description: Search for new mailboxes (and later display them via dialog)
tmp=$(mktemp /tmp/$(basename $0).XXXXXXXXXXXX)
find "$basedir" -name new -type d > "$tmp"
while read dir; do
is_new=$(ls "${dir}" | head -n1)
if [ "$is_new" ]; then
echo "New in $dir"
done < "$tmp"
rm -f "$tmp"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment