you can use split or dd.
i've used this many times to split tar backups into files.
tar clfvpz - . |split --bytes 650m - /1/hda$p.tgz-
to recombine them, use what you wish. with cat, you could cat file1 file2 file3 > whole.file
with dd to split the files, you could use skip.
dd if=bigfile of=file1 count=650 bs=1M
dd if=bigfile skip=650 of=file2 count=650 bs=1M
dd if=bigfile skip=1300 of=file3 count=650 bs=1M
and so on
recombine with cat or whatever you wish.
edit: sorry i copied that first command from a script without really looking at it first. i fixed it. you can change the tar part to a cat and the file you wish to split up for what you want to do.
Last edited by whansard; 10-28-2004 at 06:28 AM.