diff-playbook 210 Bytes
Newer Older
1 2 3 4 5
function cleanup {
  rm -fr "$DFILE"
}
trap cleanup EXIT

6
HERE=`pwd`
7
DFILE=`mktemp -d`
8 9 10 11 12 13
TFILE="archive.tar.gz"
cd $DFILE
slapcache-download --destination=$TFILE
tar -xzf $TFILE
rm $TFILE

14
diff -ruw $DFILE $HERE