Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jun 2005 22:36:40 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        "Andrew L. Gould" <algould@datawok.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: OT: usage of split
Message-ID:  <20050620033640.GD8497@dan.emsphone.com>
In-Reply-To: <200506192231.18309.algould@datawok.com>
References:  <200506192231.18309.algould@datawok.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jun 19), Andrew L. Gould said:
> Regarding the usage of split to divide files into several parts:
> 
> 1.  Can the split utility be used on binary files?

split -b bytes infile basename.
 
> 2.  How does one rejoin the resulting split files to recreate the
> original file?  I assume you can cat text files into a new file using
> redirection (>>); but can you do that with a binary file?

cat basename.* > newfile

-- 
	Dan Nelson
	dnelson@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050620033640.GD8497>