Bash code to deal with aevol data