On Fri, 11 Feb 2011, Alex Young wrote:

> Here's what I use:
>
>
> DIRTOTAL=`ls $PATH | grep [^*$] -c`
> if [ $DIRTOTAL -ne 0 ]; then

if test $(find $DIR -type f | wc -l) -gt 0; then
   # whatever
fi

-- 
Paul Heinlein <> heinl...@madboa.com <> http://www.madboa.com/
_______________________________________________
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to