bash: checking file size -solved

Hello
I have srv RHEL5, file system UTDM (EMC DiskXtender Unix/Linux File System Manager 3.5 & EMC Centera).
it all works under the scheme: have disk is formatted with a file system UTDM, drive open network - NFS, it write data, then migrate the data in the repository - EMC Centera.
There are utility/commands that work with this disk to the migration and purification.
for backup of the disk I written file and planned CRON:

#!/bin/bash
#start script clear file system UTDM-P
. /opt/fsm/etc/fsm.profile
ARCH_FSM_NAMEDATA=`date +"%Y-%m-%d"`
echo "`date +"%H:%M:%S"` - start script"
echo "`date +"%H:%M:%S"` - start migration files & purge file  system..."
migout /UTDM-P/*
purge /UTDM-P/*
echo "`date +"%H:%M:%S"` - purge file system successfully!"
echo "Free space: `df -h /UTDM-P|tail -n1`"
echo "`date +"%H:%M:%S"` - write meta data files in the tarfile from the  UTDM fs..."
cd /UTDM-P && dxuldm_tar --exclude=.DMATTR -cvf  /backup/arch_UTDM_fsm/fsm_UTDM-P_$ARCH_FSM_NAMEDATA.tar . >>  /backup/arch_logs/archive_$ARCH_FSM_NAMEDATA.log
if [[ $? -gt 0 ]];then
echo "`date +"%H:%M:%S"` - write meta data files in the tarfile aborted.  backup failed."
exit 1
fi
echo "`date +"%H:%M:%S"` - All operations completed successfully!"
exit 0

I am interested in is what
I am printing a list -

# ls -s /UTDM-P
0 test1.file
0 test2.file
0 test3.file
0 test4.file
0 test5.file
0 test6.file
0 test7.file
16 lost+found

do check on the first data (excluding directory lost+found)

if
0 test2.file
0 test3.file
345 test4.file
0 test5.file

then the work stops

please help realize:)

---------- Post updated 15-02-10 at 12:55 PM ---------- Previous update was 14-02-10 at 08:42 PM ----------

agreed!

#!/bin/bash
#start script clear file system UTDM-P
echo "`date +"%H:%M:%S"` - start script"
echo "`date +"%H:%M:%S"` - start migration files and purge files system..."
migout /UTDM-P/*.ARCHIVE && purge /UTDM-P/*.ARCHIVE
echo "`date +"%H:%M:%S"` - check files system..."
SIZE=`ls -ls /UTDM-P/*.ARCHIVE |grep -v "^d" | awk '{a+=$1} END{print a}'`
if [ "$SIZE" -gt 0 ];then
echo "`date +"%H:%M:%S"` - check files system finish -> migration and purge failed."
exit 1
fi
echo "`date +"%H:%M:%S"` - All operations completed successfully!"

all thanks:)