source:
TOOLS/MOSAIX/rangement.bash
@
3951
Last change on this file since 3951 was 3665, checked in by omamce, 6 years ago | |
---|---|
|
|
File size: 532 bytes |
Line | |
---|---|
1 | #!/bin/bash |
2 | |
3 | source ./Setup.bash |
4 | |
5 | # ============================================================ |
6 | |
7 | for ATM in LMD144X142 LMD9695 ICO30 ICO40 ICO450 dynamico30 dynamico40 dynamico450 |
8 | do |
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 |
23 | done |
Note: See TracBrowser
for help on using the repository browser.