home *** CD-ROM | disk | FTP | other *** search
- Short: Extracts pieces from files
- Author: steigies@physik.uni-kiel.d400.de (Christian Steigies)
- Uploader: steigies@physik.uni-kiel.d400.de (Christian Steigies)
- Type: util/cli
-
- Extract was written for a poor guy, who has a CD-Rom drive but can't
- use it together with his HD. As he didn't find a split program which
- allowed to change the disk after writing a file, I wrote this program,
- which extracts a given amount of bytes from a file.
- After copying the small files on the HD, they can be put together with
- the join command.
- To split an archive of 2.000.000 bytes into pieces which fit on DD disk,
- one could use the follwing commands:
-
- Extract large df0:small.1 1 800000
- Extract large df0:small.2 800001 1600000
- Extract large df0:small.3 1600001 2000000
-
- After copying them all onto HD,
-
- join small.1 small.2 small.3 as large
-
- can be used to regain the original archive.
-
- Usage:
- Extract <infile> <outfile> <from:bytes> <to:bytes>
-
- This is kind of my first C program, so please don't blame me for bad
- programming style or if it blows up your Harddisk. I know that it can be
- programmed smarter, but it runs ok on my and Martins Amiga, but I don't
- use it too often (I still have no CD-Rom, and when I have mine, I'm sure
- that it will work together with my HD).
-
- Extract was compiled with GNU C version 2.5.8 (requires ixemul.library,
- in gcc_ixemul) and with GNU C version 2.6.3 (does not require the
- ixemul library, in gcc_noixemul, thanx to martin for this one).
-
- The sourcecode is included.
-
-
- ============================= Archive contents =============================
-
- Original Packed Ratio Date Time Name
- -------- ------- ----- --------- -------- -------------
- 2251 839 62.7% 11-Jun-95 11:55:00 Extract.c
- 2157 1047 51.4% 11-Jun-95 11:55:00 Extract.guide
- 1501 765 49.0% 11-Jun-95 11:55:00 Extract.readme
- 3952 2194 44.4% 11-Jun-95 11:55:00 +Extract
- 12592 6630 47.3% 11-Jun-95 11:55:00 +Extract
- -------- ------- ----- --------- --------
- 22453 11475 48.8% 22-Jun-95 02:17:10 5 files
-