/[MITgcm]/MITgcm_contrib/gael/profilesMatlabProcessing/profiles_devel/profiles_subgrid_stats_rename.m
ViewVC logotype

Contents of /MITgcm_contrib/gael/profilesMatlabProcessing/profiles_devel/profiles_subgrid_stats_rename.m

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download)
Tue Apr 21 20:15:40 2015 UTC (11 years, 4 months ago) by gforget
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
FILE REMOVED
- remove old codes.

1
2 dir0='./';
3
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 if ~ispc;
9 system(['mv ' dir0 tmp2 ' ' dir0 tmp3]);
10 else;
11 system(['rename ' dir0 tmp2 ' ' dir0 tmp3]); %DOS equivalent
12 end;
13 end;
14
15
16

  ViewVC Help
Powered by ViewVC 1.1.22