#!/bin/bash if [ "$1" == "" -or "$2" == "" ]; then echo Need to supply two directories as arguments.; exit; fi; diff -rcw "$1" "$2" | grep ^Only