v0.14.0
Loading...
Searching...
No Matches
do_vtk.sh
Go to the documentation of this file.
1#!/bin/sh
2
3
4for H5M_FILE in out_*h5m
5do
6
7BASE_NAME=`basename $H5M_FILE .h5m`
8
9
10VTK_FILE=$BASE_NAME.vtk
11 if [ $VTK_FILE -nt $H5M_FILE ]; then
12 echo $H5M_FILE is older than $VTK_FILE
13 else
14 echo $H5M_FILE convert to $BASE_NAME.vtk
15 mbconvert $H5M_FILE $VTK_FILE
16 fi
17
18done