I’m not exactly flush with file splitters these days, but I have hoz on my list as a program to revisit.
hoz is almost 10 years old now; it was not a newcomer when I first found it four years ago. Since then, as best I can tell, there hasn’t been an update, meaning it’s much the same as it was when I first found it.
The original file there is just a dump of /dev/urandom, to fit a 512Mb file. hoz is splitting into fourths, which oddly leaves a single zero-byte file at the end. I’m not sure if that’s a glitch in the software or just a side effect of my math.
hoz is fast and fairly straightforward; everything you need to know is in the help flags. I can tell you to cut with
-c and paste back together with
-p, and I’ve given away probably half of what hoz has there.
It is not without its irritations though. For one, hoz doesn’t understand human-readable sizes — hence the ungainly string of numbers in the command near the top, to get something close to 512Mb divided by four.
That’s a major inconvenience considering I usually want to split files into dimensions that will fit a CD, or squeeze onto a flash drive.
Second, hoz’s output files don’t seem reattachable, except with hoz. I tried to cat the same series of files back into a new file, and got a very different md5sum as a result.
Meaning, if you’re looking for something to split files and send them on to someone else, they’ll likely need something compatible with hoz to get them back together.
On the other hand that could be a good thing, if you’re looking for an obscure format to further obfuscate split files.
Third, and this might just be my complaint, but I prefer zero-padded numbers. hoz just tacks the arbitrary number on the end, which spatters them all out of sequence in a directory. Not huge, but it rankles my OCPD. 😈
That’s probably enough about hoz now. For my money, GNU split or lxsplit are better solutions, just because they seem to fill the three gaps I mention above. hoz is an option though, if any of the others fail to satisfy.
Hoz is an open-source implementation of “Hacha” program: http://www.hacha.org/programas.html that is a portable splitter for MSWindows, very used (in the past?) by Spanish and LatinAmerican users. (both Hoz and Hacha are names of cutting tools, “axe” and “sickle” in english).
Algoritms of Hoz (and Hacha) are more similar to Rar than to GNUsplit: you can not paste the parts with cat because all parts have headers with redudancy information.