Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!howland.reston.ans.net!xlink.net!rz.uni-karlsruhe.de!news.uni-stuttgart.de!uni-regensburg.de!lrz-muenchen.de!fauern!news.tu-chemnitz.de!irz401!uriah.heep!bonnie.heep!not-for-mail From: j@bonnie.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: File Cut for a binary file Date: 8 Aug 1995 15:30:24 +0200 Organization: Private U**x site, Dresden. Lines: 22 Message-ID: <407otg$p1g@bonnie.tcd-dresden.de> References: <RPANCHOL.95Aug6204025@westphal.ch.intel.com> <guru.807868359@thias> Reply-To: joerg_wunsch@uriah.heep.sax.de NNTP-Posting-Host: 192.109.108.139 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Matthias Apitz <matthias@eikon.e-technik.tu-muenchen.de> wrote: >>I wish to find out if there exists routines to >>cut a binary file ( around 20 Meg ) into smaller >>segments of a specified size AND after transportation >>to another location JOIN them back into the original >>binary file ? > >dd if=your_file of=aaa count=2000 (BTW: 2000*512 byte) >dd if=your_file of=bbb skip=2000 count=2000 >dd if=your_file of=ccc skip=4000 count=2000 But this is only for masochists. All other people prefer split -b 1024000 your_file instead. :-) -- cheers, J"org private: joerg_wunsch@uriah.heep.sax.de http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)