- Timestamp:
- 07/31/12 16:02:23 (12 years ago)
- Location:
- TOOLS/PACK_IPSL
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TOOLS/PACK_IPSL/archive_debug.sh
r1822 r1837 107 107 year_end_pack=`expr ${year_begin_pack} + ${period_pack}` 108 108 109 if [ ${month_end_pack} -le 9 ] 110 then 111 date_end_pack=${year_end_pack}0${month_end_pack}01 112 fi 113 if [ ${month_end_pack} -gt 9 ] 114 then 115 date_end_pack=${year_end_pack}${month_end_pack}01 116 fi 109 date_end_pack=${year_end_pack}${month_end_pack}01 117 110 118 119 111 for file in `awk '{print $9}' ${IGCM_TMP}/${$}.new_liste_debug_files.txt`; do 120 121 112 extract_date_file=`echo ${file} | sed -e "s/.*\${JobName}_//"` 122 113 date_file=`echo ${extract_date_file}| sed 's/\([0-9]\{8\}\)_.*$/\1/g'` 123 124 114 125 115 if [ ${date_file} -lt ${date_end_pack} ] … … 155 145 year_begin_pack=${year_end_pack} 156 146 157 if [ ${month_begin_pack} -le 9 ] 158 then 159 date_begin_pack=${year_begin_pack}0${month_begin_pack}01 160 fi 161 if [ ${month_begin_pack} -gt 9 ] 162 then 163 date_begin_pack=${year_begin_pack}${month_begin_pack}01 164 fi 165 147 date_begin_pack=${year_begin_pack}${month_begin_pack}01 166 148 167 149 number_pack=`expr ${number_pack} + 1` -
TOOLS/PACK_IPSL/find_directory_simul.sh
r1822 r1837 12 12 LISTE_SIMUL=${1} 13 13 LISTE_DMNFS=${2} 14 14 echo $LISTE_SIMUL $LISTE_DMNFS 15 15 # ---- 16 16 export JOB_DIR=${JOB_DIR:-${PWD}} … … 23 23 SCRIPT_NAME=$(basename ${0} ) 24 24 source ${EXE_DIR}/DEM_utilities.sh 25 26 echo "apres sources" ${SCRIPT_NAME} 25 27 26 28 # gpdebug : verif si le present script a ete execute jusqu'au bout ######### … … 47 49 # Pour tous les fichiers ou repertoires contenus dans le fichier de parametres 48 50 for DIR in $( awk '{print $0}' ${LISTE_SIMUL} ) ; do 51 49 52 DEM_log -1 ${SCRIPT_NAME} - Inspection de ${DIR}"/" 50 53 # trouve la liste des repertoires restart sous l'arborescence
Note: See TracChangeset
for help on using the changeset viewer.