In article <[🔎] 378084590501210213ad41bf8@mail.gmail.com>, Jacob Friis Larsen <webcom.dk@gmail.com> wrote: >How can I check if a directory is empty? if [ `find $DIRECTORY -type d -empty -maxdepth 0` = '' ] then echo $DIRECTORY is not empty fi Mike.