From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,8fef2fe508180e8d,start X-Google-Attributes: gidfa528,public From: "Arthur Dalessandro" Subject: Check for files in a directory Date: 2000/10/25 Message-ID: #1/1 X-Deja-AN: 685890628 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Complaints-To: newsabuse@supernews.com Organization: Posted via Supernews, http://www.supernews.com X-MSMail-Priority: Normal Newsgroups: comp.unix.tru64 I've seen the man test pages, which show if a file exists, is there a quick and dirty way of checking whether a given directory contains any files? I have a cron job that I want to run, the job should only be run if these temp files exist in the given directory. Any help would be appreciated.