添加符号链接支持

This commit is contained in:
wlx 2015-05-21 23:07:50 +08:00
parent a6a207264a
commit 78a4c146b6
1 changed files with 1 additions and 1 deletions

View File

@ -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