corda/sgx-jvm/tools/jvm-diff/flatten.sh

6 lines
158 B
Bash
Raw Normal View History

#!/bin/bash
find {pkgdiff_reports/jdk,exclusions} -type f \( -iname '*.html' -o -iname '*.java' \) | while read f; do
mv $f $(echo $f | tr '/' '.')
done