blob: a0f5902bebac5b6887cfa3908704a4eb45b909d1 [file] [log] [blame]
#!/bin/bash
BASE_DIR=`dirname $0`/..
DIR=$1
if [ -z $1 ]; then
DIR=$BASE_DIR/testmsgs
fi
for i in $DIR/*.msg; do
echo Creating ${i%%.msg}.xml
$BASE_DIR/bin/mimedump.pl ${i%%.msg} < $i
echo Creating ${i%%.msg}.decoded.xml
$BASE_DIR/bin/mimedump.pl -decode ${i%%.msg}_decoded < $i
done