From 78a4c146b6724cd0b8049ed8f602fbe66b5f1a48 Mon Sep 17 00:00:00 2001 From: wlx Date: Thu, 21 May 2015 23:07:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=AC=A6=E5=8F=B7=E9=93=BE?= =?UTF-8?q?=E6=8E=A5=E6=94=AF=E6=8C=81?= 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 7d77785..4deda78 100755 --- 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$\|^\. 4096$' | sort >> $curpath/$uuid-fs.txt + find -L . -printf "%p %s\n" | grep -v '^\./ 4096$\|^\. 4096$' | sort >> $curpath/$uuid-fs.txt else echo $datapath; fi