History of AFNI updates  

|
October 07, 2003 04:21PM
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

Subject Author Posted

to3d 3D...

Julius October 06, 2003 12:27PM

Re: to3d 3D...

rick reynolds October 06, 2003 04:53PM

Re: to3d 3D...

Julius October 06, 2003 08:22PM

Re: to3d 3D...

rick reynolds October 07, 2003 10:23AM

Re: to3d 3D...

Julius October 07, 2003 01:00PM

Re: to3d 3D...

rick reynolds October 07, 2003 01:38PM

Re: to3d 3D...

Julius October 07, 2003 03:26PM

Re: to3d 3D...

rick reynolds October 07, 2003 03:41PM

Re: to3d 3D...

Julius October 07, 2003 04:01PM

Re: to3d 3D...

rick reynolds October 07, 2003 04:21PM

Re: to3d 3D...

Julius October 07, 2003 05:21PM