Hi Julius,
Wow, so it's true. The Mac head command doesn't have the
-c option, but the tail command does (we've got some OS X
machines here, too).
Okay, the command line will be more complicated, but you
can use the glorious file_tool program for this. The
command:
head -c 10485760 filename > file.top
can be directly replaced by the file_tool command:
file_tool -offset 0 -length 10485760 -quiet -infiles filename > file.top
The -quiet option says not to print out file header info.
The other options are probably clear. Another point to
note is that you can (if you want to be consistent) use
file_tool for the whole thing, either in one command or
in two. So the second half of 'filename' is:
file_tool -offset 10485760 -length 10485760 -quiet -infiles filename > file.bottom
The only difference is the offset. Please see the output
of "file_tool -help" for more information.
- rick