ShadowArch/Shared/compare-directories

4 lines
145 B
Plaintext
Raw Normal View History

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