#!/bin/bash set -euo pipefail target=$1 us=$(pwd) cd $1 for f in $(find -type f); do if ! cmp $f $us/$f; then true fi done exit 1