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