ShadowArch/UserScripts/compare-directories

4 lines
145 B
Bash
Executable File

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