From df7c01567094e53fe06efceafded20b766e461e6 Mon Sep 17 00:00:00 2001 From: wlx Date: Thu, 21 May 2015 21:47:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=AD=A3=E5=88=99=E5=88=A4?= =?UTF-8?q?=E6=96=AD=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dataset-diff.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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