0001 function r = copyTemplateEstimates(newEstimatesDir)
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 fprintf(['\nNow sending newly generated templates \n' ...
0017 'to the cbassuser@haggis account. From \n' ...
0018 'there they are copied to the archive daily. \n' ...
0019 'They will then appear in your local archive \n' ...
0020 'at your next rsync. \n\n'])
0021
0022 input('Press any key when ready.')
0023
0024 fprintf(['Godspeed, little ones. And good luck.\n\n' ...
0025 '(You need to enter the cbassuser@haggis password...)\n']);
0026
0027 system(['scp ' newEstimatesDir ...
0028 '*.bin cbassuser@haggis.caltech.edu:/scr/cbassuser/load/.']);
0029
0030 r = 1;
0031
0032 end