提取数据
#!/bin/bash
cd /home/mozisys/mozi171206/fastdfs_storage_data1/data
for i in `cat /tmp/b.txt`; do
\cp -rf ${i} /tmp/qushu && echo "weiman:${i}" >> /tmp/qushuo-yes.log || echo "weiman:${i} check fail" >> /tmp/qushuo-no.log
done
zip -r /tmp/qushu.zip /tmp/qushu
echo "取数" > /tmp/message.txt
mail -s "取数" -a /tmp/qushu.zip weiman@happycfc.com,jinrongrong@happycfc.com < /tmp/message.txt