diff --git a/dataset-diff.sh b/dataset-diff.sh index a1bcfa9..c1769f5 100644 --- a/dataset-diff.sh +++ b/dataset-diff.sh @@ -15,7 +15,7 @@ fcount=`find -L "$datapath"/* | wc -l` curpath=`pwd` if [ $fcount -gt 0 ]; then cd $datapath - find . -printf "%p %s\n" | grep -v '. 4096' | sort >> $curpath/$uuid-fs.txt + find . -printf "%p %s\n" | grep -v '^\./ 4096$' | sort >> $curpath/$uuid-fs.txt else echo $datapath; fi