#!/bin/bash
#
# Code by  venkentom@gmail.com
#
# Licenced by the GPL General Public License
# Have a look at:
# http://www.gnu.org/copyleft/gpl.html
# For more information about the GPL License
#
# I am not responsible for what this code does to your hw/sw/mind
# Use at your own risk
# 

#Put gromacs commands after this line

DIR=`pwd`

#Config
NPROCS=2

cd completed/
mkdir mindistnum_png

#loop over all simulations
for l in {00..99}
do

mv $l/mindistnum/mindistnum_POPC_${l}.png $l/mindistnum/mindistnum_${l}_POPC.png
mv $l/mindistnum/mindistnum_PW_${l}.png $l/mindistnum/mindistnum_${l}_PW.png

cp $l/mindistnum/*.png mindistnum_png

done

cd ..


