I am trying to iterate through some files in a specific folder to do a specific operation in each of them (using Neuroimaging tool FSL).
When I do
$ find /home/Desktop/MSc/ImagensMRI/T1/t1inciais/t1alzheimer/
It returns a list of all the files in that folder
So I did
$ for i in 'find /home/Desktop/MSc/ImagensMRI/T1/t1inciais/t1alzheimer/';do /usr/share/fsl/5.0/bin/bet $i ${i}_brain -f 0.4 -g 0;done
But the outcome of that is
Error: input image find not valid
I was able to do this in CentOS 7, so I'd guess that could be the root of the problem...