fsplit -- splitting up a binary file

Have you ever wanted to copy a file to diskette that was larger than the disk's size? Have you then desperately tried to compress the file without success? Does the system lack a proper split command with the ability to split up binary files? Then fsplit is for you.

This short shell skript uses the standard 'dd' utility to break a large binary file into small chunks of custom size.

fsplit (filename | -) <chunksize>
The file to split up. Give a single hyphen '-' to read data from standard input.
The size of each chunk in kilobytes.
The program creates files with the 'xx' prefix and a sequential numerical postfix beginning with '00' (followed by '01' etc.).
The single chunks can be recombined with the cat command: cat xx* > outfile
Get the script and have fun!

Frank Pilhofer <fp -AT- fpx.de> Back to the Homepage
Last modified: Fri Mar 31 18:41:25 1995