(4.5k●9●186●201)
edited
Jan 10 '14, 4:42 p.m.
Do you mean _any_ kind of content i.e. 1 or more files
On unix one could do:
dir=/some/path/to/examine
nfiles=$(find $dir -type f | wc -l)
if [ $nfiles -ne 0 ]; then
there be content here
fi
On dos based build "dir /s" might best the way to approach
Comments
Robert haig
FORUM MODERATOR / JAZZ DEVELOPER Jan 13 '14, 5:05 p.m.use .bset with backticks
ls
ls semaphore