From 238bbb6b140045266b47e8c734294d434e1cad2b Mon Sep 17 00:00:00 2001 From: zhaohe Date: Wed, 1 Jun 2022 20:41:35 +0800 Subject: [PATCH] update --- README.md | 15 +++++++++++++++ build.sh | 3 ++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b6e1500..80eb782 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # 文件分离程序 + + ``` 概述: 这个程序主要解决一些嵌入式系统没有 split指令,无法对大文件进行分离打包 @@ -12,6 +14,19 @@ Usage: ``` +# 文件分离和合并 + +``` + 分离 + ./zsplit file + 合并 + cat file.* >file + 检查完整性 + ./sumcheck file + +``` + + # 编译 ``` diff --git a/build.sh b/build.sh index cb12e17..3294ee5 100755 --- a/build.sh +++ b/build.sh @@ -1,6 +1,7 @@ #!/bin/bash -CC=/home/zwsd/Desktop/workspace/project_meditation_capsule/HappySwitchSoundBox/toolchain/gcc-linaro-5.4.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc +# CC=/home/zwsd/Desktop/workspace/project_meditation_capsule/HappySwitchSoundBox/toolchain/gcc-linaro-5.4.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc +# CC=gcc ${CC} sumcheck.c -o sumcheck ${CC} zsplit.c -o zsplit \ No newline at end of file