https://github.com/uk0/go-split-file
https://github.com/uk0/go-split-file
golang split splitfile tools
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/uk0/go-split-file
- Owner: uk0
- Created: 2019-01-03T13:20:50.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-08T10:47:01.000Z (almost 7 years ago)
- Last Synced: 2025-02-24T16:14:30.724Z (11 months ago)
- Topics: golang, split, splitfile, tools
- Language: Go
- Size: 4.57 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## split Tools
### command
```bash
#功能:切分文件、合并文件、自动 MD5 校验(分片与原文件)
# 说明:默认输出目录为 split_data/,会生成 manifest.json 与 checksums.md5。
# 用法示例:
# 切分(按大小):
# ./filesplit -mode split -in /path/large.iso -chunk-size 64MiB
# 切分(按份数):
# ./filesplit -mode split -in /path/large.iso -chunks 10
# 合并:
# ./filesplit -mode merge -manifest /path/split_data/large.iso.manifest.json
# 校验:
# ./filesplit -mode verify -manifest /path/split_data/large.iso.manifest.json
#
# 备注:支持大小后缀:K,KB,KiB,M,MB,MiB,G,GB,GiB(大小写不敏感)
```