From 7dfcc480ba1e19bd3232349fc733caef94034292 Mon Sep 17 00:00:00 2001 From: stainer_t Date: Mon, 8 Sep 2025 13:48:49 +0200 Subject: Initial commit from Polytechnique Montreal --- PyGan/data/rDragView.save | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 PyGan/data/rDragView.save (limited to 'PyGan/data/rDragView.save') diff --git a/PyGan/data/rDragView.save b/PyGan/data/rDragView.save new file mode 100755 index 0000000..cfdb000 --- /dev/null +++ b/PyGan/data/rDragView.save @@ -0,0 +1,20 @@ +#!/bin/sh +# +if [ $# = 0 ] + then + echo "usage: rDragView.save directory" 1>&2 + exit 1 +fi +echo "access rDragView.save" +MACH=`uname -s` +Sysx="`echo $MACH | cut -b -6`" +if [ $Sysx = "CYGWIN" ]; then + MACH=`uname -o` +elif [ $Sysx = "AIX" ]; then + MACH=`uname -s` +else + MACH=`uname -sm | sed 's/[ ]/_/'` +fi +ls -l +mv *.vtu $1/"$MACH"/ +echo "rDragView.save completed" -- cgit v1.2.3