diff --git a/track_diff.sh b/track_diff.sh new file mode 100755 index 00000000..1226982d --- /dev/null +++ b/track_diff.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +for i in $(find . -name "*.remote") +do + diff -Nau $i $(dirname $i)\/$(basename $i .remote) + if [ $? -eq 0 ] + then + echo $i same, removing + rm $i + fi +done