for i in `ls -1`; do 
if [[ -n "`echo $i | grep zip`" ]]; then 
echo -e "y\n" | unzip "$i"; wait
fi
done
