554325746@qq.com
2019-12-18 d232ca5cbdb43b5d1281bc0335ce04adab7870ca
add mergeAll.sh and +x
1个文件已添加
1个文件已修改
21 ■■■■■ 已修改文件
mergeAll.sh 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
updatePatch.sh 补丁 | 查看 | 原始文档 | blame | 历史
mergeAll.sh
New file
@@ -0,0 +1,21 @@
#!/bin/bash
filepath=$1
filestore=$2
echo "filepath: " $filepath
echo "filestorepath: "  $filestore
if [ ! -f $filestore ]; then
        echo "$filestore not exist"
else
        rm -f $filestore
fi
for item in `ls $filepath | sort -n`
do
        `cat ${filepath}/${item} >> ${filestore}`
        echo "merge ${filepath}/${item}  to $filestore ok"
done
echo "file store ok"
updatePatch.sh
old mode 100644 new mode 100755