OT: usage of split

Dan Nelson dnelson at allantgroup.com
Mon Jun 20 03:36:44 GMT 2005


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 at allantgroup.com


More information about the freebsd-questions mailing list