#!/bin/sh ignore="old|junk" topdir=~/Mail/ echo mailboxes `find ${topdir} -type d -maxdepth 1 | grep -v -E "$ignore" | sed -e s/${topdir}/+/g sort`