Binary operator expected

Within my script, there is this following if, then statement. It basically looks for files in a directory that match a certain naming convention (bingofile*.DAT) and are non empty files and moves these files to a diff. directory. The script works okay if there is only one file matching the search criteria, but if there are multiple files, I get the following error:

./testscript2.sh: line 10: [: myfilelocationpath/temp/bingofile208847857.DAT: binary operator expected

my script:

if [ -s /myfilelocationpath/temp/bingofile* ] # is bingofile*.DAT > 0
then
mv /myfilelocationpath/temp/bingofile* /anewdirectory/temp
fi

P.S: I have already tried mmv instead of mv with no luck.

thats because /myfilelocationpath/temp/bingofile* will return more than one file name and if can't test all at once.. so its better go for for loop..

ahaa....thanks for the info, vidyadhar.

can you give me an example of how I would use the "for loop" with my requirements ?

thanks

thanks for the info. Can anybody show me how to write this for loop in my case ?

I tried the following but it didnt work:

for i [ -s /myfilelocation/bingofile*.DAT ] # is bingofile*.DAT > 0
do
mv /myfilelocation/$i /destination_directory
done

thanks

src="/myfilelocation"
dest="/destination_directory"
patt="bingofile*.DAT"

for f in "$src"/$patt; do 
  [ -s "$f" ] && mv "$f" "$dest"
done