source: TOOLS/MOSAIX/rangement.bash @ 3740

Last change on this file since 3740 was 3665, checked in by omamce, 3 years ago

O.M. : mise a jour des properties

  • Property svn:executable set to *
  • Property svn:keywords set to Date Revision HeadURL Author Id
File size: 532 bytes
Line 
1#!/bin/bash
2
3source ./Setup.bash
4
5# ============================================================
6
7for ATM in  LMD144X142 LMD9695 ICO30 ICO40 ICO450 dynamico30 dynamico40 dynamico450
8do
9    for OCE in ORCA2.3 eORCA1.2 ORCA025
10    do
11        Liste=$(ls *${ATM}*_*${OCE}*.nc *${OCE}*_*${ATM}*.nc  *${ATM}x${OCE}*.nc *${OCE}x${ATM}*.nc 2> /dev/null  )
12
13        if [[ -z ${Liste} ]] ; then
14            echo "${ATM} : ${OCE} : Vide "
15        else
16            echo "${ATM} : ${OCE} : ${Liste}"
17            mkdir -p ${OCE}x${ATM}
18            mv ${Liste} ${OCE}x${ATM}
19
20        fi
21       
22    done
23done
Note: See TracBrowser for help on using the repository browser.