I needed a way to move a ton of stuff on a small media.
At first it was the floppy disk. And then the zip disk.
(That's a lot of stuff to move around.)
I didn't want to calculate which combinations of folders
will make it to the size of the target disk when I move
my projects between a couple of different computers.
Sure, I could have just transfered the files via the network.
But, I needed a way to transfer a large amount of data
if the network wasn't available.
And then, the File Splitter was born. I know that all
kinds of programs exists out there. But I knew this was a
very easy project to do on my own. So, here it is.
This program is a very simple utility that will split a file:
to user defined file size
to user defined numbers of files
And the utility can also merge files.
Here's the help screen for the program:
(And it is all you really needed to figure out how to use this program.)
Usage: filesplit [options]
To split the file sample.tar to
The command is: filesplit /f3 sample.tar
To merge those files, the command is just filesplit /m sample.tar.
FileSplit will automatically search for 001, 002 and 003.
Note: If you have, for some reason, sample.tar.004 - FileSplit will merge that
in. So it is up to you to ensure that the extra files are not there. No file
size, check sum, encoding of reliability is put into this program. It was ment
to be as simple as possible.
How I do I know if this program really works?
Create the tar ball/zip file of everything you need
Run the filesplitter utility
Rename the original tar ball/zip file to bla_bla_bla.bak
Run the merge program
Unpack the archive to, for example, a temp directory and see if the files
unpack with out any errors - this ensures that the split files are good
SOURCE CODE INCLUDED!!!
Fully commented and free for all to use. (Just email me a shout of thanks.)
Click HERE to see it.