Changeset 346
- Timestamp:
- 09/09/10 15:42:12 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/AA_move-and-rename
r342 r346 32 32 #-Q- sx8brodie # pour recevoir un mail en cas de depassement du temps Elapsed (ou autre pb.) 33 33 #-Q- sx8brodie # @ notification = error 34 #-Q- sx8brodie # @ environment = $DEBUG_debug ; $MODIPSL ; $libIGCM ; $libIGCM_SX ; $SUBMIT_DIR ; $REBUILD_DIR ; $RebuildFromArchive ; $POST_DIR ; $MASTER ; $RebuildFrequency ; $StandAlone 34 #-Q- sx8brodie # @ environment = $DEBUG_debug ; $MODIPSL ; $libIGCM ; $libIGCM_SX ; $SUBMIT_DIR ; $REBUILD_DIR ; $RebuildFromArchive ; $POST_DIR ; $MASTER ; $RebuildFrequency ; $StandAlone ; $reponse 35 35 #-Q- aix6 #!/bin/ksh 36 36 #-Q- aix6 ####################### … … 47 47 #-Q- aix6 # pour recevoir un mail en cas de depassement du temps Elapsed (ou autre pb.) 48 48 #-Q- aix6 # @ notification = error 49 #-Q- aix6 # @ environment = $DEBUG_debug ; $MODIPSL ; $libIGCM ; $libIGCM_SX ; $SUBMIT_DIR ; $REBUILD_DIR ; $RebuildFromArchive ; $MASTER ; $RebuildFrequency ; $StandAlone 49 #-Q- aix6 # @ environment = $DEBUG_debug ; $MODIPSL ; $libIGCM ; $libIGCM_SX ; $SUBMIT_DIR ; $REBUILD_DIR ; $RebuildFromArchive ; $MASTER ; $RebuildFrequency ; $StandAlone ; $reponse 50 50 #-Q- aix6 # @ queue 51 51 #-Q- sx8brodie # @ queue … … 231 231 ######################################################################## 232 232 233 234 233 if [ ! -d ${SUBMIT_DIR} ]; then 235 234 IGCM_debug_Print 0 "No ${SUBMIT_DIR}, we stop here" … … 471 470 IGCM_sys_TestDirArchive ${R_SAVE}/${R_ATLAS} 472 471 if [ $? = 0 ] ; then 472 # REPLACE_sed ${NEW_R_SAVE}/${R_ATLAS}/*/*/index.html ${NEW_R_SAVE}/${R_ATLAS} 473 474 MY_DODS_Rm ${R_ATLAS} 475 473 476 IGCM_sys_Mv ${R_SAVE}/${R_ATLAS} ${NEW_R_SAVE}/${R_ATLAS} 474 # REPLACE_sed ${NEW_R_SAVE}/${R_ATLAS}/*/*/index.html ${NEW_R_SAVE}/${R_ATLAS}475 476 MY_DODS_Rm ${R_ATLAS}477 477 478 478 MY_DODS_Cp ${R_ATLAS} … … 484 484 if [ $? = 0 ] ; then 485 485 IGCM_sys_MkdirArchive ${NEW_R_SAVE}/${R_MONITORING} 486 IGCM_sys_MkdirArchive ${NEW_R_SAVE}/${R_MONITORING}/html 487 IGCM_sys_MkdirArchive ${NEW_R_SAVE}/${R_MONITORING}/files 488 IGCM_sys_MkdirArchive ${NEW_R_SAVE}/${R_MONITORING}/progress 489 IGCM_sys_MkdirArchive ${NEW_R_SAVE}/${R_MONITORING}/images 486 490 REPLACE_sed ${R_SAVE}/${R_MONITORING}/index.html ${NEW_R_SAVE}/${R_MONITORING} 487 IGCM_sys_Mv ${R_SAVE}/${R_MONITORING} ${NEW_R_SAVE} 491 REPLACE_sed ${R_SAVE}/${R_MONITORING}/HEADER.html ${NEW_R_SAVE}/${R_MONITORING} 492 REPLACE_sed ${R_SAVE}/${R_MONITORING}/files/HEADER.html ${NEW_R_SAVE}/${R_MONITORING}/files 493 REPLACE_sed ${R_SAVE}/${R_MONITORING}/html/HEADER.html ${NEW_R_SAVE}/${R_MONITORING}/html 494 REPLACE_sed ${R_SAVE}/${R_MONITORING}/progress/HEADER.html ${NEW_R_SAVE}/${R_MONITORING}/progress 495 REPLACE_sed ${R_SAVE}/${R_MONITORING}/images/HEADER.html ${NEW_R_SAVE}/${R_MONITORING}/images 496 REPLACE_sed ${R_SAVE}/${R_MONITORING}/run.card ${NEW_R_SAVE}/${R_MONITORING} 497 REPLACE_sed ${R_SAVE}/${R_MONITORING}/config.card ${NEW_R_SAVE}/${R_MONITORING} 498 IGCM_sys_Cp -rp ${R_SAVE}/${R_MONITORING} ${NEW_R_SAVE} 488 499 489 500 MY_DODS_Rm ${R_MONITORING} 501 IGCM_sys_Rm -rf ${R_SAVE}/${R_MONITORING} 490 502 491 503 MY_DODS_Cp ${R_MONITORING} … … 523 535 echo "\033[1;31mDo you REALLY want to erase all this directory ?" 524 536 echo -n " Your answer (y/n) : \033[m" 525 read reponse 537 if [ X${reponse} = X ] ; then 538 read reponse 539 fi 526 540 case ${reponse} in 527 541
Note: See TracChangeset
for help on using the changeset viewer.