summaryrefslogtreecommitdiff
path: root/hacks/subdiff
diff options
context:
space:
mode:
Diffstat (limited to 'hacks/subdiff')
-rw-r--r--hacks/subdiff10
1 files changed, 10 insertions, 0 deletions
diff --git a/hacks/subdiff b/hacks/subdiff
new file mode 100644
index 000000000..8c40fb401
--- /dev/null
+++ b/hacks/subdiff
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+a=`realpath $1`
+b=`realpath $2`
+tmp=$$
+mkdir -p $tmp
+cd $tmp
+asdcp-unwrap $a
+asdcp-unwrap $b
+diff -u `basename $1 | sed -e "s/\.mxf/_/"` `basename $2 | sed -e "s/\.mxf/_/"`