There is a bonus too: we won't need the loops in /etc/cron.daily/tumgreyspf since find nicely removes all the empty dirs for us. Example:
$ mkdir -p a/b/c/d/e/f $ find a a a/b a/b/c a/b/c/d a/b/c/d/e a/b/c/d/e/f $ find a -mindepth 1 -type d -empty -delete $ find a a And just one minor fix is needed on my example before (otherwise there is a risk of removing /var/lib/tumgreyspf/data/): find ${greylistDir} -mindepth 1 -type d -empty -delete -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org