Hi,
Sorry for asking again but- Can I save more then one line from the command line using ">"
ie:
fslstats image1.nii -R -M -V
fslstats image2.nii -R -M -V
fslstats image3.nii -R -M -V
If so, how (using a short script)?
Thanks
Moran
Hi,
In linux/unix/mac you can take the output of any
command and put it into a text file using ">".
That is:
fslstats image1.nii -R -M -V > myfile.txt
You can also append to a file with ">>".
That is:
fslstats image2.nii -R -M -V >> myfile.txt
All the best,
Mark
On 29 Jan 2010, at 07:30, Moran Artzi wrote:
Hi,
Running scripts as:
fslstats image1.nii -R -M -V
fslstats image2.nii -R -M -V
fslstats image3.nii -R -M -V
How can I export (automatically) the fslstats results from the command line
into txt file?
Thanks
Moran