Hi Cooper, try using the --f option to mri_concat. This takes a text file in which you can list all the files you want. doug
On 10/13/11 5:40 PM, Cooper Roddey wrote:
I think my problem is not with mri_concat after all, but with matlab's 'unix' function. In any case, reading a list of input files saved in a single file would be a nice option...
CR
On Thu, Oct 13, 2011 at 2:28 PM, Cooper Roddeycooper.roddey@gmail.com wrote:
Hi Doug,
I have run into a command line length problem when using mri_concat to compile about 1000 .mgh files together. The command line is about 133k characters long, and the max length on my Linux box appears to be 128k. I have a temporary work-around involving symbolic links but I'm looking for a more robust solution. Is it possible for mri_concat to read a text file containing the full paths of my 1000 .mgh files, instead of including all the files explicitly in the command line? Have others run into this problem?
Cheers, Cooper