
if [ ! -f $1 ] ; then
  echo Missing file 
  exit 1
fi

if [ ! -d $2 ] ; then
  echo "Missing output directory"
  exit 1
fi

tar tf $1
