Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!uakari.primate.wisc.edu!ames!amdahl!pacbell!att!cbnewsc!cmv From: cmv@cbnewsc.ATT.COM (C M Votava) Newsgroups: comp.sys.att Subject: DSPLIT - splitting files over multiple floppies Message-ID: <2842@cbnewsc.ATT.COM> Date: 31 Aug 89 13:01:10 GMT Reply-To: cmv@cbnewsd.ATT.COM (C M Votava) Organization: AT&T Bell Laboratories Lines: 58 I posted the source for this program a while ago in unix-pc.sources, and didn't get any response. I suspect the article may have had some trouble getting out to the net. So I'm re-posting the announcement here, and if I get enough interest from folks wanting a copy, I'll try to re-post the source again. =========================================================================== Have you ever wished for a program that would break up big files and write them to multiple floppies in a single stroke? Don't you *HATE* to sit there and feed floppies to your unixpc all day just to back up the silly hard disk? Well maybe this little program that I have can help you out some. I have a program called dsplit (for device split). It takes standard input and writes to the floppy; when the floppy is full, it prompts you for another floppy, and continues on (similar to the unixpc "cpio" command) until you're finished. I've written it on and for the unixpc, but it should compile on other machines without much trouble. Let's say you have a file that's too big for a single floppy. To save it over multiple floppies you type: $ cat file | dsplit -o To read it back in from those floppies you type: $ dsplit -i >file This is particularly useful when trying to back up files on the unixpc. When you think about it, many times this is what you want to do: $ find / -print | cpio -ocv | compress -c >/dev/rfp021 The problem with this is that you can't do this over more than one floppy. Here's how it works with dsplit: $ find / -print | cpio -ocv | compress -c | dsplit -o This will backup your entire hard disk to less than (almost half) the number of floppies it normally would. To retrieve your files, type: $ dsplit -i | uncompress -c | cpio -icdv Well, you get the idea. Let me know how you like it, and different ways you've learned to use it. Have fun... -Craig Votava [att!]ihlpz!cmv [att!]ihlpm!cmv =========================================================================== If you want a copy, please mail me at any of the above addresses. -Craig