#!/bin/bash
script_dir=$(dirname $0)
echo root of mirror is $script_dir
cd $script_dir
echo file count
find . -type f | wc -l
echo dir count
find . -type d | wc -l
echo md5 sum
find . -type f -exec cat '{}' \; | md5sum
echo checking zip files
find . -name \*.zip -exec unzip -tqq '{}' \;
echo zip check done - no errors means we are all good.


