| /[MITgcm]/MITgcm_contrib/gael/profilesMatlabProcessing/profiles_devel/profiles_subgrid_stats_rename.m |
Parent Directory
|
Revision Log
|
Revision Graph
- fix windows PC compatibility.
| 1 | gforget | 1.1 | |
| 2 | gforget | 1.2 | dir0='./'; |
| 3 | gforget | 1.1 | |
| 4 | tmp1=dir([dir0 '*final.mat']); | ||
| 5 | for kk=1:length(tmp1); | ||
| 6 | tmp2=tmp1(kk).name; | ||
| 7 | tmp3=[tmp2(1:end-9) 'prc10.mat']; | ||
| 8 | gforget | 1.2 | if ~ispc; |
| 9 | system(['mv ' dir0 tmp2 ' ' dir0 tmp3]); | ||
| 10 | else; | ||
| 11 | system(['rename ' dir0 tmp2 ' ' dir0 tmp3]); %DOS equivalent | ||
| 12 | end; | ||
| 13 | gforget | 1.1 | end; |
| 14 | |||
| 15 | |||
| 16 |
| ViewVC Help | |
| Powered by ViewVC 1.1.22 |