diff options
Diffstat (limited to 'postpost/copy_matlab')
-rwxr-xr-x | postpost/copy_matlab | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/postpost/copy_matlab b/postpost/copy_matlab new file mode 100755 index 0000000..200320a --- /dev/null +++ b/postpost/copy_matlab @@ -0,0 +1,17 @@ +#!/bin/sh + +for t in $1* +do + if [ -e $t/Post ] + then + for u in ./*.m + do + if [ -e $u ] + then + echo $t/Post/`basename $u` + cp `basename $u` $t/Post/ + fi + done + fi +done + |