
%ls -1 /Volumes/Tempbox/rob/CascadiaUTMGrids/ > list  # -1 is the numeral one,  not the letter l.
%listc=textread('list','%s')

i=1;
while( i<= length(listc) )
  fprintf('Converting %s.\n',listc{i});
  tic
  cvtGrid(listc{i},'UTM');
  fprintf('Finished converting %s.\n',listc{i});
  toc
  i = i + 1;
end
fprintf('Conversion finished!\n');
