Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gheja/split
https://github.com/gheja/split
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/gheja/split
- Owner: gheja
- License: wtfpl
- Created: 2014-03-12T21:20:22.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-06-19T09:16:40.000Z (over 10 years ago)
- Last Synced: 2024-04-16T08:48:55.357Z (7 months ago)
- Language: C
- Size: 176 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
split
=====This utility splits files into several parts, that's all.
The program will try to open the input file in read-only mode and then split it to multiple 1024 MiB (1073741824 bytes) parts. Output filenames will be the ``, where `` is an 8 character long zero padded integer starting from 0, so if the `` is "part" then the created files will be `part00000000`, `part00000001`, `part00000002` and so on.
The files created are simply the input file split into multiple parts so joining the parts together again is simple as copying more binary files (use /B) with one destination:
```
copy /b part00000000+part00000001+part00000002 joined.txt
```Note: the input file should exactly match (checksums must be equal) with the joined one. If this is not the case, something went wrong for sure!
The block size is currently hard-coded, might change in the future.
Usage
-----
```
split
```Example
-------
```
split test.txt part
```(Yeah, basically I had enough of all the crappy shareware/bloatware/gradient-in-the-background-so-it-is-eight-megabytes-ware "split" solutions for Windows...)