独木
fox000002
全部博文(12)
2009年(1)
2008年(11)
叹季升物
czmczm3
战神_巫
分类: LINUX
2008-08-21 20:51:22
#! /bin/bash g++ -c glass_2d.cpp echo Build Successfully... echo ------------------------ echo Backup Files timeStamp=$(date +%Y%m%d) target="../glass_2d_$timeStamp.tar" targetPatch="../glass_2d_$timeStamp.patch.tar" echo $targetPatch if [ -e "$target" ] then echo "The target has already been created." echo "Use Patch" tar -cf $targetPatch * else tar -cf $target * fi echo Backup Successfully... sleep 5
上一篇:日常使用的脚本
下一篇:boost 代码片断
登录 注册