#!/bin/sh

if [ -d "$1" ]
then
  ! find "$1" -noleaf -type f -exec mkschk -s -- \{\} \; | grep -v '^OK '
else
  echo 'wywoluj: mkschkdir-syncr <nazwa_katalogu>'
  exit 1
fi
